Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4679] Xcode 8.2 - Simulator launches and app is not installed with latest appcelerator

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2016-12-17T16:13:59.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterChristy Thomas
AssigneeShak Hossain
Created2016-12-16T14:15:24.000+0000
Updated2016-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).

Comments

  1. Sharif AbuDarda 2016-12-16

    Hello, Does the same thing happen when you run through terminal? Can you share "appc info" log in here?
  2. Christy Thomas 2016-12-16

    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.
  3. Christy Thomas 2016-12-16

    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?
       An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
       The request to open "build/iphone/build/Products/Debug-iphonesimulator/New60Blank.app" failed.
       The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "build/iphone/build/Products/Debug-iphonesimulator/New60Blank.app" is unknown to FrontBoard").
       
    The New60Blank.app was built with the appc run command in my previous comment.
  4. Christy Thomas 2016-12-16

    If I open the resulting .xcodeproj file in Xcode and run the project via Xcode the application will launch in the simulator.
  5. Andreas Graetz 2016-12-16

    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.
  6. Christy Thomas 2016-12-16

    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.
  7. Andreas Graetz 2016-12-16

    8.1 (8B62) works well
  8. Christy Thomas 2016-12-16

    Thanks. I am on Xcode 8.1 now and it's working.
  9. Hans Knöchel 2016-12-17

    This is a duplicate of the (fixed) issue TIMOB-24136, we will release the 6.0.1 patch version next week!

JSON Source