[AC-859] iOS Simulator broken with 7.1 XCode 5.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-03-14T05:50:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | billy |
Assignee | Ritu Agrawal |
Created | 2014-03-13T23:20:16.000+0000 |
Updated | 2016-03-08T07:37:09.000+0000 |
Description
Studio fails to launch the simulator with XCode 5.1 and iOS 7.1. Resolved by installing the previous version of XCode.
Error in Titanium. Fails running this command.
local:~/Titanium_Studio_Workspace/app$ "/Users/billy/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.GA/iphone/ios-sim" launch "/Users/billy/Documents/Titanium_Studio_Workspace/app/build/iphone/build/Debug-iphonesimulator/App.app" --sdk 7.1 --family iphone --retina
dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
Referenced from: /Users/billy/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.GA/iphone/ios-sim
Reason: image not found
Trace/BPT trap: 5
Both of those paths in that command exist (one to ios-sim and other to my app)
Xcode 5.1 introduced a new framework for launching the simulator and we have added support for new version in SDK 3.2.2 release. Please refer to this blog for more information: http://www.appcelerator.com/blog/2014/03/titanium-3-2-2-sdk-releases-same-day-as-ios-7-1/
How do you actually get the 3.2.2 release? Check for updates says no updates found from 3.2.1. I tried downloading from the site and it's still 3.2.1
You can install from command line the the latest released SDK titanium sdk install
There is still something weird happening here. I have issues on two different computers. The simulator still fails. Command line says: You're up-to-date. Version 3.2.2.GA is currently the newest version available. However TitaniumStudio says: Titanium Studio, build: 3.2.1.201402041146
Please note that only the SDK version was upgraded to 3.2.2 and there is no change to Studio and CLI. You should be able to use 3.2.1 Studio with 3.2.2 SDK (specify it in tiapp.xml file) with new Xcode. Let us know if you run into any issue and we would be happy to reopen this ticket.
That did it! I had no idea it was specified in the tiapp.xml. I assumed it would just use the most recent SDK. Thanks for debugging this