Unable to run new Titanium app on iPhone simulator - ios

Just created a new project and when trying to run on iPhone simulator I get the following error:
Accepted values:
8.0
[ERROR] : Invalid "--sim-version" value "7.1"
For help, run: titanium help build
I'm guessing it's due to the xCode update to the new version and the support for iPhone 6.
Anyone knows how to solve this?
I'm running against the latest Titanium SDK (3.3.0)

You need Ti 3.4.0, so update Titanium (Studio, SDK, NPM), then set up the newest version of Ti SDK in tiapp.xml, clean up your project and that's it!
(How to do the update): http://www.appcelerator.com/blog/2014/09/announcing-our-ios-8-support-with-appcelerator-sdkstudio-3-4-0-release/

Related

Unable to find any Xcode installations thats supports at least iOS 8.0

I haven't used my development tools for Appecelerator Titanium in a while (Studio and CLI). Now I try to run an existing app in the iOS simulator.
From studio I can not select the iOS simulators.
When I use the CLI and execute: appc run (platform iOS) i get this message:
Unable to find any Xcode installations thats supports at least iOS 8.0
I have Xcode version 9.0.1 installed.
How can i connect Xcode with Titanium again?
The path of the active XCode developer directory (xcode-select -p) is:
/Applications/Xcode.app/Contents/Developer
You're probably on an SDK older than 6.2. xcode 9 isn't supported by older SDK's for obvious reasons. You can either install xcode8 (downloadable from the apple website) or you can upgrade to Titanium SDK 6.2 or higher (6.3 came out, I recommend that)
For information regarding versioning (of everything related to Ti, check the compatibility matrix in the documentation)
Had the same problem today after installed Xcode 9.2, on side of Xcode 9.4.1 and Titanium SDK 7.2.0.GA. Same error message as in the title of this post. As suggested by Patrick De Marta, I've tried
appc run -p ios -T simulator -C x
after that, I could select a simulator and run the app.
Thanks!
What do you get when you execute "appc ti sdk list" from command line ?
I'm not sure if this is your case, but I had a similar problem and solved it by specifying the target simulator with the CLI build option -C
(appc ti info for the list of simulator names )
hope this helps

Xamarin: Not able to run app on an iOS 9.2.1 device

I'm an IOS developer in Xcode, but I still new to Xamarin environment ..
In Xamarin Studio on mac, I'm trying to run a single view app on my iPad, using this tutorial ...
But when I choose to run the app.. it gives me these two errors :
Error: Could not locate the iOS '9.2' SDK usr path at
'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk'
Error: Error executing task DetectSdkLocations: Value cannot be null.
Parameter name: path1
Here are some informations about what I'm using
The iPad is running IOS 9.2.1
Xamarin Studio: Version 5.10.2
Xamarin.iOS: Version 8.10.0.303
Xcode: Version 7.2.1
And the SDK locations in Xamarin preferences are set properly
So where is the problem ?? and can I run the app on iPad with IOS 9.2.1 ??
Thanks in advance ..
You can not have access to the 9.x version of IOS until the 9.x.x.x version of Xamarin.IOS

How to Fix Xcode Error “Could not find Developer Disk Image” on iOS9.2

I am trying to test my app on iOS 9.2 device using Xcode 7.1.1, and getting the error message
“Could not find Developer Disk Image”.
Googled and found that, this is due to the Version Mismatch between Xcode deployment target and iOS version. On Xcode 7.1, I can see the deployment target till iOS 9.1 only.
So, I do understand that have to update my Xcode to the 7.2 version for deployment target iOS 9.2. But i don't wanna do the update.
Is there any valid way to test my app using Xcode 7.1 on iOS 9.2 device?
Fix it by downloading XCode 7.2 dmg and installed it as a new copy.
or
Uninstall exiting one and directly download new version of xcode from App Store.
Have look on same thread in SO .
If you go for update there also some problem have look on this.
Your Xcode iOS SDK should not be less that Device iOS SDK you can install app as Internal Tester by TestFlight. or www.diawi.com

how to install simulator 7.0 in Xcode 5.0.2

Am completely new to Mac and infact this is my first use of Apple system, am using titanium appcelerator to build my app. I installed Xcode 5.0.2 which comes with iOS 7.0.3 simulator. But appcelerator 3.1.3.GA sdk supports upto 7.0 simulator. So is there a way to downgrade simulator to 7.0 version? and as I build my app completely with 3.1.3.GA sdk am not interested in again building with 3.2.0.GA sdk, because of some errors. So please help me downgrade simulator to 7.0 version if possible. Thank you.
I hope that you need to run in the lower versions as well, but you have been created a App with the newer architecture of XCODE . If so, then you need to change the architecture as in build settings:
and also check deployment target:

Titanium SDK 3.2 [ERROR] : Invalid "--ios-version" value "7.0" 7.0.3

When I upgraded to titanium SDK version 3.2, I had an error when running on iOS says: titanium Invalid "--ios-version" value "7.0" Accepted values: 7.0.3, is there any possible way to solve this ?
I had the same issue.
I were able to solve it by changing the tiapp.xml node
changed
<sdk-version>3.1.3.GA</sdk-version>
to
<sdk-version>3.2.0.GA</sdk-version>
Hope this helps
minimum iOS version to work with Ti sdk 3.2.0 is 7 so you need to set iOS version to 7.
you can do that by right clicking on your project root folder then choose Run As-> Run Configuration option where you can set ios sdk.
Not really a fix. I have changed my project's sdk version to 3.2.0.GA (updated) then build my application via cli and execute the following command on the project directory:
titanium build --platform ios --ios-version 7.0.3
App build successfully (no errors encountered) and it opens the iOS simulator v7.0.3.
Update: Issue no longer encountered after updating titanium-studio to 3.2
Same issue.
Work fine with ti SDK 3.2.0
Ti SDK : 3.1.3.GA
Ti: 3.2.0
Alloy: 1.4.0 or 1.3.0
OS: mac os x 10.9.1
Same issue here.
Problem seems to be solved when building with the 3.2.0 SDK, however then other issues emerge.
I figured this out by just loading the xcode project from the 'build' folder and seeing the actual error that xcode was throwing. it told me that I had a 'module' that no longer supported 'NavigationGroup' class. I also installed the latest xcode updates and the latest Ti.Studio.
You need to change your sdk version in order to make it work with 7.0.3.
From the console:
ti sdk select 3.2.0.GA
You can find more info in the CLI documentation
Also make sure you update your tiapp.xml file as #Anand suggested
An update for Titanium SDK 3.1.3 has been released, the thing is 3.1.3 only supported up to iOS simulator 7.0, but now Appcelerator added support for 7.0.3.
Open ti.xml file
Under Build Properties, find the Titanium SDK field.
Select 3.2.0.GA
If it is not an option, go to menu option
Help > Check for Titanium Updates

Resources