[AC-4679] Xcode 8.2 - Simulator launches and app is not installed with latest appcelerator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2016-12-17T16:13:59.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | Christy Thomas |
Assignee | Shak Hossain |
Created | 2016-12-16T14:15:24.000+0000 |
Updated | 2016-12-17T16:13:59.000+0000 |
Description
If I create a new mobile app project and try to Run from appcelerator studio 4.8 I get the simulator to come up, but the app never installs and runs.
Here is the log from the console with trace on.
[TRACE] : Signing Identity: "-"
[TRACE] : /usr/bin/codesign --force --sign - --timestamp=none /Users/christy.thomas/Code/Titanium/New60Blank/build/iphone/build/Products/Debug-iphonesimulator/New60Blank.app
[TRACE] :
[TRACE] : ** BUILD SUCCEEDED **
[INFO] : Finished building the application in 21s 463ms
[INFO] : Launching iOS Simulator
[TRACE] : [ioslib] Selected iOS Simulator: iPad Retina
[TRACE] : [ioslib] UDID = 7D3DF9B5-8F63-497A-923B-AD71B20BE560
[TRACE] : [ioslib] iOS = 10.2
[TRACE] : [ioslib] Autoselected Xcode: 8.2
[TRACE] : [ioslib] Tailing iPad Retina Simulator system log: /Users/christy.thomas/Library/Logs/CoreSimulator/7D3DF9B5-8F63-497A-923B-AD71B20BE560/system.log
[TRACE] : [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl shutdown 7D3DF9B5-8F63-497A-923B-AD71B20BE560
[TRACE] : [ioslib] iPad Retina Simulator was already shutdown
[TRACE] : [ioslib] Running: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID 7D3DF9B5-8F63-497A-923B-AD71B20BE560
It sits at this point until I kill the simulator and then I get this:
[TRACE] : [ioslib] iPad Retina Simulator has exited with code 0
[TRACE] : [ioslib] Exited with code: 0
I've tried other simulators as well (10.2 versions).
Hello, Does the same thing happen when you run through terminal? Can you share "appc info" log in here?
appc run -p ios --log-level trace --deploy-type development --force I ran the above command and saw the same problem. Simulator launches, but the app does not. In the Environment field of this ticket is my "appc info" data.
I tried to run the app in the simulator from the command line with this command: xcrun simctl launch --console EE9A4B2C-EE49-4DA1-A036-854FBDCAD585 build/iphone/build/Products/Debug-iphonesimulator/New60Blank.app Have you seen this before?
The New60Blank.app was built with the appc run command in my previous comment.
If I open the resulting .xcodeproj file in Xcode and run the project via Xcode the application will launch in the simulator.
Last night I got an automatic update for Xcode. As a new functionality, simulator performs a new way to install apps via drag&drop. Seems to be that Apple made changes to simulator. I restored to last Xcode-version and simulator starts apps again.
What version of Xcode should I be using? I have 8.2 (8C38) right now. This was a new machine that I just setup with Seirra and Xcode on Wednesday.
8.1 (8B62) works well
Thanks. I am on Xcode 8.1 now and it's working.
This is a duplicate of the (fixed) issue TIMOB-24136, we will release the 6.0.1 patch version next week!