Xcode missing components

I have the same problem.

Even in Corona SDK 2015.2546 also produces the same error:

The Xcode iOS SDK located at “/Applications/Xcode.app/Contents/Developer” is missing the following components:

copypng

codesign_allocate

 

This happens after the Xcode upgrade to version 7 recently last week.

 

only the following folders found in /Applications/Xcode.app/Contents/Developer 

 

Applications Library Platforms Tools

Documentation Makefiles Toolchains usr

 

Any help appreciated. Thanks.

 

Teerapan

Please try updating your Corona SDK to 2721 or later.

Rob

Confirm the version of Xcode you are using by running:

/usr/bin/xcodebuild -version

In a terminal window.

Also please post your entire console log when you try to build.

Thanks

Rob

Very strange … Xcode 7.0 works fine here.  Run these commands in Terminal and post the results:

/usr/bin/xcodebuild -version /usr/bin/xcodebuild -showsdks xcrun --find codesign\_allocate xcrun --find codesign 

Also send me the  complete  Corona Console log for a session in which the error occurs (you can PM it).

Thanks for your reply and suggestion.

Previously I used Corona SDK 2015.2646 as available in your download for Mac.

I have now downloaded the latest build, Corona SDK 2722 and the build process is complete without any errors.

iOS build succeeded 

Thank you for your help and very quick response, Rob and Perry.

Teerapan

I just downloaded the new daily build (2722) and everything works fine now

Thank you

Ray

Apple made changes in Xcode 7 that are incompatible with CoronaSDK builds prior to 2682.  Obviously there’s no way for older builds to know this so they are just reporting things as they see them. 

mac-mini:~ MacMini$ /usr/bin/xcodebuild -version

Xcode 7.0

Build version 7A220

mac-mini:~ MacMini$ /usr/bin/xcodebuild -showsdks

2015-10-16 14:10:34.710 xcodebuild[4743:513318] [MT] PluginLoading: Required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

OS X SDKs:

OS X 10.11                    -sdk macosx10.11

 

iOS SDKs:

iOS 9.0                       -sdk iphoneos9.0

 

iOS Simulator SDKs:

Simulator - iOS 9.0           -sdk iphonesimulator9.0

 

watchOS SDKs:

watchOS 2.0                   -sdk watchos2.0

 

watchOS Simulator SDKs:

Simulator - watchOS 2.0       -sdk watchsimulator2.0

 

mac-mini:~ MacMini$ xcrun --find codesign_allocate

2015-10-16 14:10:36.621 xcodebuild[4745:513461] [MT] PluginLoading: Required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

mac-mini:~ MacMini$ xcrun --find codesign 

/usr/bin/codesign

 

i got error when i want to build for iOS, any help will be pleased. my error is 

The Xcode iOS SDK located at “/Applications/Xcode.app/Contents/Developer” is missing the following components:

copypng

codesign_allocate

and after i try to hit the build again, i can build. but then i got error code 5

i tried with my old apps that can be build before and already at App Store… and now, got same error.

the console is below for my second hit build for ios

Corona Simulator Console


Diagnostics and Lua print output will appear here

 

Oct 16 14:25:07.783: Corona Simulator: The Xcode iOS SDK located at “/Applications/Xcode.app/Contents/Developer” is missing the following components:

copypng

codesign_allocate

 

Please re-install Xcode.

 

Xcode is required by Corona SDK and needs to be installed to build iOS applications.

 

Press the “Install Xcode…” button to go to the App Store and get Xcode.  When it is installed, build for iOS again.

Oct 16 14:25:10.156: Warning: provisioning profile “2k48 dev” expired: 2015-05-16

Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/58D1EDE0-CA25-42CD-AC8A-20677AABD6A2.mobileprovision

Oct 16 14:25:37.058: Using additional build settings from: /Users/MacMini/Documents/Robby/Veggie Friends/veggiefriends/build.settings

Oct 16 14:25:37.138: Contents of ZIP file from server:

Oct 16 14:25:37.173: veggiefriends.app/

Oct 16 14:25:37.173: veggiefriends.app/embedded.mobileprovision

Oct 16 14:25:37.173: veggiefriends.app/MainWindow-iPad.nib

Oct 16 14:25:37.174: veggiefriends.app/Default-568h@2x.png

Oct 16 14:25:37.174: veggiefriends.app/resource.car

Oct 16 14:25:37.174: veggiefriends.app/PkgInfo

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_onOff_mask.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_dark@4x.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_light@2x.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_light@4x.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_light.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_onOff_mask_android_holo.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios7.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_android@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_pickerWheel_mask.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/Info.plist

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_dark.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios7@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_dark@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios.png

Oct 16 14:25:37.175: veggiefriends.app/Info.plist

Oct 16 14:25:37.175: veggiefriends.app/metadata.lua

Oct 16 14:25:37.176: veggiefriends.app/_CodeSignature/

Oct 16 14:25:37.176: veggiefriends.app/_CodeSignature/CodeResources

Oct 16 14:25:37.176: veggiefriends.app/CoronaSDK3rdPartyLicenses.txt

Oct 16 14:25:37.176: veggiefriends.app/.build/

Oct 16 14:25:37.176: veggiefriends.app/.build/CoronaProvider.native.popup.social/

Oct 16 14:25:37.176: veggiefriends.app/.build/CoronaProvider.native.popup.social/libnative-popup-social.a

Oct 16 14:25:37.176: veggiefriends.app/.build/CoronaProvider.native.popup.social/metadata.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/Defaults.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/libtemplate.a

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/Builder.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/build.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/BuilderUtils.lua

Oct 16 14:25:37.177: veggiefriends.app/MainWindow.nib

Oct 16 14:25:37.343: Server dir name: veggiefriends.app

Oct 16 14:25:37.344: Server app name: veggiefriends (local name: veggiefriends)

Oct 16 14:25:37.902: builder: buildOptions: {

Oct 16 14:25:37.902:   “dstDir”:"/Applications/MAMP/htdocs/veggiefriends.app",

Oct 16 14:25:37.902:   “dstName”:“veggiefriends”,

Oct 16 14:25:37.902:   “dstPath”:"/Applications/MAMP/htdocs/veggiefriends.app/veggiefriends",

Oct 16 14:25:37.902:   “librarySearchPaths”:["/Applications/MAMP/htdocs/veggiefriends.app/.build/libtemplate"],

Oct 16 14:25:37.902:   “pluginsDir”:"/Applications/MAMP/htdocs/veggiefriends.app/.build",

Oct 16 14:25:37.902:   “tmpDir”:"/var/folders/vx/z00yt_d90dxb9d1y033lkpfh0000gn/T/CLtmpjkkP1x",

Oct 16 14:25:37.902:   “verbose”:false

Oct 16 14:25:37.902: }

Oct 16 14:25:40.916: Code signing identity: “iPhone Distribution: KlikLabs Indo Kreasi, PT” (2FAEF351C76C5209891F684ACF7EAF3379E4B856)

Oct 16 14:25:41.025: Created XCENT: /var/folders/vx/z00yt_d90dxb9d1y033lkpfh0000gn/T/CLtmpjkkP1x/entitlements.xcent

Oct 16 14:25:41.026: Creating Info.plist…

Oct 16 14:25:41.035:     adding extra plist setting UIApplicationExitsOnSuspend: false

Oct 16 14:25:41.035:     adding extra plist setting CFBundleIconFiles: [“Icon.png”,“Icon@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-72.png”,“Icon-72@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”]

Oct 16 14:25:41.035:     adding extra plist setting UIAppFonts: [“Komika Axis.ttf”,“Skater Girls Rock.ttf”,“CreativeBlock BB.ttf”,“BubbleGum.ttf”]

Oct 16 14:25:41.035:     adding extra plist setting UIStatusBarHidden: true

Oct 16 14:25:41.035:     adding extra plist setting UIBackgroundModes: [“remote-notification”]

Oct 16 14:25:41.035:     adding extra plist setting UIPrerenderedIcon: false

Oct 16 14:25:41.044: Application version information:

Oct 16 14:25:41.044:     Version: 1.0            [CFBundleShortVersionString] (set in Build dialog)

Oct 16 14:25:41.044: Runtime error

?:0: attempt to index a nil value

stack traceback:

?: in function ‘?’

?: in function ‘?’

?: in function ‘?’

?: in function <?:822>

Oct 16 14:25:41.044:       Build: 2015.10.161425 [CFBundleVersion] (set by Simulator)

Oct 16 14:25:41.050: iOS build failed (5)

solved, i must uninstall the corona and install again from start.

I have the same problem.

Even in Corona SDK 2015.2546 also produces the same error:

The Xcode iOS SDK located at “/Applications/Xcode.app/Contents/Developer” is missing the following components:

copypng

codesign_allocate

 

This happens after the Xcode upgrade to version 7 recently last week.

 

only the following folders found in /Applications/Xcode.app/Contents/Developer 

 

Applications Library Platforms Tools

Documentation Makefiles Toolchains usr

 

Any help appreciated. Thanks.

 

Teerapan

Please try updating your Corona SDK to 2721 or later.

Rob

Confirm the version of Xcode you are using by running:

/usr/bin/xcodebuild -version

In a terminal window.

Also please post your entire console log when you try to build.

Thanks

Rob

Very strange … Xcode 7.0 works fine here.  Run these commands in Terminal and post the results:

/usr/bin/xcodebuild -version /usr/bin/xcodebuild -showsdks xcrun --find codesign\_allocate xcrun --find codesign&nbsp;

Also send me the  complete  Corona Console log for a session in which the error occurs (you can PM it).

Thanks for your reply and suggestion.

Previously I used Corona SDK 2015.2646 as available in your download for Mac.

I have now downloaded the latest build, Corona SDK 2722 and the build process is complete without any errors.

iOS build succeeded 

Thank you for your help and very quick response, Rob and Perry.

Teerapan

I just downloaded the new daily build (2722) and everything works fine now

Thank you

Ray

Apple made changes in Xcode 7 that are incompatible with CoronaSDK builds prior to 2682.  Obviously there’s no way for older builds to know this so they are just reporting things as they see them. 

mac-mini:~ MacMini$ /usr/bin/xcodebuild -version

Xcode 7.0

Build version 7A220

mac-mini:~ MacMini$ /usr/bin/xcodebuild -showsdks

2015-10-16 14:10:34.710 xcodebuild[4743:513318] [MT] PluginLoading: Required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

OS X SDKs:

OS X 10.11                    -sdk macosx10.11

 

iOS SDKs:

iOS 9.0                       -sdk iphoneos9.0

 

iOS Simulator SDKs:

Simulator - iOS 9.0           -sdk iphonesimulator9.0

 

watchOS SDKs:

watchOS 2.0                   -sdk watchos2.0

 

watchOS Simulator SDKs:

Simulator - watchOS 2.0       -sdk watchsimulator2.0

 

mac-mini:~ MacMini$ xcrun --find codesign_allocate

2015-10-16 14:10:36.621 xcodebuild[4745:513461] [MT] PluginLoading: Required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

mac-mini:~ MacMini$ xcrun --find codesign 

/usr/bin/codesign

 

i got error when i want to build for iOS, any help will be pleased. my error is 

The Xcode iOS SDK located at “/Applications/Xcode.app/Contents/Developer” is missing the following components:

copypng

codesign_allocate

and after i try to hit the build again, i can build. but then i got error code 5

i tried with my old apps that can be build before and already at App Store… and now, got same error.

the console is below for my second hit build for ios

Corona Simulator Console


Diagnostics and Lua print output will appear here

 

Oct 16 14:25:07.783: Corona Simulator: The Xcode iOS SDK located at “/Applications/Xcode.app/Contents/Developer” is missing the following components:

copypng

codesign_allocate

 

Please re-install Xcode.

 

Xcode is required by Corona SDK and needs to be installed to build iOS applications.

 

Press the “Install Xcode…” button to go to the App Store and get Xcode.  When it is installed, build for iOS again.

Oct 16 14:25:10.156: Warning: provisioning profile “2k48 dev” expired: 2015-05-16

Provisioning file: ~/Library/MobileDevice/Provisioning Profiles/58D1EDE0-CA25-42CD-AC8A-20677AABD6A2.mobileprovision

Oct 16 14:25:37.058: Using additional build settings from: /Users/MacMini/Documents/Robby/Veggie Friends/veggiefriends/build.settings

Oct 16 14:25:37.138: Contents of ZIP file from server:

Oct 16 14:25:37.173: veggiefriends.app/

Oct 16 14:25:37.173: veggiefriends.app/embedded.mobileprovision

Oct 16 14:25:37.173: veggiefriends.app/MainWindow-iPad.nib

Oct 16 14:25:37.174: veggiefriends.app/Default-568h@2x.png

Oct 16 14:25:37.174: veggiefriends.app/resource.car

Oct 16 14:25:37.174: veggiefriends.app/PkgInfo

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_onOff_mask.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_dark@4x.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_light@2x.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_light@4x.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_light.png

Oct 16 14:25:37.174: veggiefriends.app/CoronaResources.bundle/widget_theme_onOff_mask_android_holo.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios7.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_android@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_pickerWheel_mask.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/Info.plist

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_dark.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios7@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_android_holo_dark@2x.png

Oct 16 14:25:37.175: veggiefriends.app/CoronaResources.bundle/widget_theme_ios.png

Oct 16 14:25:37.175: veggiefriends.app/Info.plist

Oct 16 14:25:37.175: veggiefriends.app/metadata.lua

Oct 16 14:25:37.176: veggiefriends.app/_CodeSignature/

Oct 16 14:25:37.176: veggiefriends.app/_CodeSignature/CodeResources

Oct 16 14:25:37.176: veggiefriends.app/CoronaSDK3rdPartyLicenses.txt

Oct 16 14:25:37.176: veggiefriends.app/.build/

Oct 16 14:25:37.176: veggiefriends.app/.build/CoronaProvider.native.popup.social/

Oct 16 14:25:37.176: veggiefriends.app/.build/CoronaProvider.native.popup.social/libnative-popup-social.a

Oct 16 14:25:37.176: veggiefriends.app/.build/CoronaProvider.native.popup.social/metadata.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/Defaults.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/libtemplate.a

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/Builder.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/build.lua

Oct 16 14:25:37.176: veggiefriends.app/.build/libtemplate/BuilderUtils.lua

Oct 16 14:25:37.177: veggiefriends.app/MainWindow.nib

Oct 16 14:25:37.343: Server dir name: veggiefriends.app

Oct 16 14:25:37.344: Server app name: veggiefriends (local name: veggiefriends)

Oct 16 14:25:37.902: builder: buildOptions: {

Oct 16 14:25:37.902:   “dstDir”:"/Applications/MAMP/htdocs/veggiefriends.app",

Oct 16 14:25:37.902:   “dstName”:“veggiefriends”,

Oct 16 14:25:37.902:   “dstPath”:"/Applications/MAMP/htdocs/veggiefriends.app/veggiefriends",

Oct 16 14:25:37.902:   “librarySearchPaths”:["/Applications/MAMP/htdocs/veggiefriends.app/.build/libtemplate"],

Oct 16 14:25:37.902:   “pluginsDir”:"/Applications/MAMP/htdocs/veggiefriends.app/.build",

Oct 16 14:25:37.902:   “tmpDir”:"/var/folders/vx/z00yt_d90dxb9d1y033lkpfh0000gn/T/CLtmpjkkP1x",

Oct 16 14:25:37.902:   “verbose”:false

Oct 16 14:25:37.902: }

Oct 16 14:25:40.916: Code signing identity: “iPhone Distribution: KlikLabs Indo Kreasi, PT” (2FAEF351C76C5209891F684ACF7EAF3379E4B856)

Oct 16 14:25:41.025: Created XCENT: /var/folders/vx/z00yt_d90dxb9d1y033lkpfh0000gn/T/CLtmpjkkP1x/entitlements.xcent

Oct 16 14:25:41.026: Creating Info.plist…

Oct 16 14:25:41.035:     adding extra plist setting UIApplicationExitsOnSuspend: false

Oct 16 14:25:41.035:     adding extra plist setting CFBundleIconFiles: [“Icon.png”,“Icon@2x.png”,“Icon-Small-40.png”,“Icon-Small-40@2x.png”,“Icon-60.png”,“Icon-60@2x.png”,“Icon-72.png”,“Icon-72@2x.png”,“Icon-76.png”,“Icon-76@2x.png”,“Icon-Small-50.png”,“Icon-Small-50@2x.png”,“Icon-Small.png”,“Icon-Small@2x.png”]

Oct 16 14:25:41.035:     adding extra plist setting UIAppFonts: [“Komika Axis.ttf”,“Skater Girls Rock.ttf”,“CreativeBlock BB.ttf”,“BubbleGum.ttf”]

Oct 16 14:25:41.035:     adding extra plist setting UIStatusBarHidden: true

Oct 16 14:25:41.035:     adding extra plist setting UIBackgroundModes: [“remote-notification”]

Oct 16 14:25:41.035:     adding extra plist setting UIPrerenderedIcon: false

Oct 16 14:25:41.044: Application version information:

Oct 16 14:25:41.044:     Version: 1.0            [CFBundleShortVersionString] (set in Build dialog)

Oct 16 14:25:41.044: Runtime error

?:0: attempt to index a nil value

stack traceback:

?: in function ‘?’

?: in function ‘?’

?: in function ‘?’

?: in function <?:822>

Oct 16 14:25:41.044:       Build: 2015.10.161425 [CFBundleVersion] (set by Simulator)

Oct 16 14:25:41.050: iOS build failed (5)

solved, i must uninstall the corona and install again from start.