Highlighted

Can't install app on iPhone Simulator

Engaged ,
Jan 25, 2018

Copy link to clipboard

Copied

Hi,

I want to test my app on the iPhone simulator, but I'm facing an error.

Some info first:

Mac OS High Sierra 10.13.1

Xcode 9.1

Air SDK 28.0.0.125

I made a VERY simple hello world app, to be sure errors don't come from any ANE. So the app just displays an "Hello world" on a blank screen.

First, I compile the app with the following command:

adt -package -target ipa-test-interpreter-simulator -keystore keys/CertificatsDev.p12 -storetype pkcs12 -storepass XXXXX -provisioning-profile "keys/test.mobileprovision" application.ipa application-simulator.xml test.swf Assets Assets.car icons/iOS Default@2x~iphone.png Default-568h@2x~iphone.png Default-375w-667h@2x~iphone.png Default-414w-736h@3x~iphone.png -platformsdk /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

The app compiles without any problem. Then I try to install the app with:

adt -installApp -platform ios -platformsdk /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk -device ios-simulator -package application.ipa

And here, I get the following error:

Unknown or unsupported SDK version: /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

2018-01-25 16:39:24.260 isb[9841:87706] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'

*** First throw call stack:

(

    0   CoreFoundation                      0x00007fff4e4c453b __exceptionPreprocess + 171

    1   libobjc.A.dylib                     0x00007fff74ed9942 objc_exception_throw + 48

    2   CoreFoundation                      0x00007fff4e5047fc _CFThrowFormattedException + 194

    3   CoreFoundation                      0x00007fff4e3cbd61 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 321

    4   CoreFoundation                      0x00007fff4e3cbbeb +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59

    5   isb                                 0x000000010202c6de -[iPhoneSimulator listSDKs] + 623

    6   isb                                 0x000000010202e21b -[iPhoneSimulator parseArgumentsStartingIndex:NumArg:ArgArray:] + 1768

    7   isb                                 0x000000010202e5b3 -[iPhoneSimulator runWithArgc:argv:] + 866

    8   isb                                 0x000000010202ea31 main + 108

    9   libdyld.dylib                       0x00007fff75ac6145 start + 1

    10  ???                                 0x0000000000000006 0x0 + 6

)

libc++abi.dylib: terminating with uncaught exception of type NSException

/var/folders/r2/c4t39k0s6v38v8g6cb2_mkdc0000gn/T/cmd3201524376007614146.tmp: line 1:  9841 Abort trap: 6           "/AdobeAIRSDK/lib/aot/bin/isb/isb" "-install" "-apppath" "/var/folders/r2/c4t39k0s6v38v8g6cb2_mkdc0000gn/T/5879e46c-7bea-40c3-9b91-acd75bdaa4d3/Payload/OracleCards.app" "-sdkpath" "/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"

I tried to also extract the SDK from the Xcode app, but the error is the same. Could you please help me solve this error? Thank you!

FYI, renaming the "Xcode9.app" to simply "Xcode.app" fixed the issue.

TOPICS
Development

Views

620

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Can't install app on iPhone Simulator

Engaged ,
Jan 25, 2018

Copy link to clipboard

Copied

Hi,

I want to test my app on the iPhone simulator, but I'm facing an error.

Some info first:

Mac OS High Sierra 10.13.1

Xcode 9.1

Air SDK 28.0.0.125

I made a VERY simple hello world app, to be sure errors don't come from any ANE. So the app just displays an "Hello world" on a blank screen.

First, I compile the app with the following command:

adt -package -target ipa-test-interpreter-simulator -keystore keys/CertificatsDev.p12 -storetype pkcs12 -storepass XXXXX -provisioning-profile "keys/test.mobileprovision" application.ipa application-simulator.xml test.swf Assets Assets.car icons/iOS Default@2x~iphone.png Default-568h@2x~iphone.png Default-375w-667h@2x~iphone.png Default-414w-736h@3x~iphone.png -platformsdk /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

The app compiles without any problem. Then I try to install the app with:

adt -installApp -platform ios -platformsdk /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk -device ios-simulator -package application.ipa

And here, I get the following error:

Unknown or unsupported SDK version: /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

2018-01-25 16:39:24.260 isb[9841:87706] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'

*** First throw call stack:

(

    0   CoreFoundation                      0x00007fff4e4c453b __exceptionPreprocess + 171

    1   libobjc.A.dylib                     0x00007fff74ed9942 objc_exception_throw + 48

    2   CoreFoundation                      0x00007fff4e5047fc _CFThrowFormattedException + 194

    3   CoreFoundation                      0x00007fff4e3cbd61 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 321

    4   CoreFoundation                      0x00007fff4e3cbbeb +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59

    5   isb                                 0x000000010202c6de -[iPhoneSimulator listSDKs] + 623

    6   isb                                 0x000000010202e21b -[iPhoneSimulator parseArgumentsStartingIndex:NumArg:ArgArray:] + 1768

    7   isb                                 0x000000010202e5b3 -[iPhoneSimulator runWithArgc:argv:] + 866

    8   isb                                 0x000000010202ea31 main + 108

    9   libdyld.dylib                       0x00007fff75ac6145 start + 1

    10  ???                                 0x0000000000000006 0x0 + 6

)

libc++abi.dylib: terminating with uncaught exception of type NSException

/var/folders/r2/c4t39k0s6v38v8g6cb2_mkdc0000gn/T/cmd3201524376007614146.tmp: line 1:  9841 Abort trap: 6           "/AdobeAIRSDK/lib/aot/bin/isb/isb" "-install" "-apppath" "/var/folders/r2/c4t39k0s6v38v8g6cb2_mkdc0000gn/T/5879e46c-7bea-40c3-9b91-acd75bdaa4d3/Payload/OracleCards.app" "-sdkpath" "/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk"

I tried to also extract the SDK from the Xcode app, but the error is the same. Could you please help me solve this error? Thank you!

FYI, renaming the "Xcode9.app" to simply "Xcode.app" fixed the issue.

TOPICS
Development

Views

621

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 25, 2018 0
Engaged ,
Jan 29, 2018

Copy link to clipboard

Copied

FYI, renaming the "Xcode9.app" to simply "Xcode.app" fixed the issue.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 29, 2018 1