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

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

Related

Is there a way to run an app on iOS 12.2 with an outdated version of Xcode and macOS?

I'm developing a React Native application that I test and build on a real iPhone 7 using Xcode. However, the iPhone recently automatically updated to iOS 12.2, which requires Xcode version 10.2. The problem is that I can't update Xcode because my Mac is running on High Sierra 10.13.6 and is too old to get the Mojave update (2011).
So the question is: Is there any way I can still use the Mac to run the app on my real device, or am I forced to use the emulators/buy a new Mac from now on? Most importantly, is there I way I can still get the Mojave update on my old Mac?
You can download the support files that you want from this repo
Close your xcode, right click on xcode ->Show Package Contents->Contents->Developer->Platforms->iPhoneOS.platform->DeviceSupport, and unzip your file there.
Restart xcode and voilĂ , your device is supported.
check this for more info.
There is some trick for you to install Mojavae and so Xcode 10.2.
I hope that can help you, and think to deactivate the auto update.

There is an error of `dyld_shared_cache_extract_dylibs failed` running app at iOS9.0.2 by Xcode10.1(10B61)

There is a problem that I use Xcode10.1(10B61) running app at iOS9.0.2.
Here is the information : dyld_shared_cache_extract_dylibs failed. The answer doesn't work for me, who has the good solution?
Had the same issue, couldn't get symbols from any devices running iOS 9.x under Xcode 10.1 (10B61), solutions for me was side installing Xcode 9.4.1 and using it to obtain symbols, after that i could use my older devices with Xcode 10 again.
You can find older Xcode versions here: https://developer.apple.com/download/more/
Delete a directory in ~/Library/Developer/Xcode/iOS DeviceSupport/
that matches the version of the iOS on your device.
Restart Xcode.

Node.js Devices not found

I installed Appc studio on MBP with C2D, OSX 10.9.5, XCode 6.2, can't update to newest Sierra and XCode, because MBP is not longer supported.
I have problem, I don't see any iOS simulators/devices connected to MBP. I tried to uninstall, install, reinstall, downgrade and upgrade node.js and also TiSDK(6.0.2&5.1.1), but after
appc ti info -t ios
it throws error:
Cannot read property "devices" of undefined
When I open Xcode, I see my connected iPhone and iOS simulators.
Can please somebody help me?
Thank you
If from Xcode you can see al the devices and you can start them, the problem is probably that Appcelerator "lost" the path to Xcode.
Check with appc setup if it's everything right and have a look also at the platform iOS properties.

iPhone running iOS 8.3 shows up as ineligible in Xcode 6.2

Current setup:
iPhone 6+ updated to iOS 8.2
iMac running Mavericks (10.9) with Xcode 6.2
Deployment target set to 8.2
When I connect the iPhone, it shows up as ineligible.
Also, it shows this warning:
I've tried:
to reboot both iPhone & iMac -> Not solved
to manually select iPhone from: Product > Destination > Ineligible Devices
Many other answers in this question, but all for problems using Xcode 6.3, not 6.2.
I know I can solve this:
upgrading to Yosemite & installing Xcode 6.3
using an iPhone running 8.2
But is there any possibility that mounting the Xcode 6.3 DMG and copying some libs / symlinking something it will work?
Just copy the folder DeviceSupport/8.3 from Xcode 6.3 to Xcode 6.2.
Details:
Download Xcode 6.2 and 6.3, install as /Applications/Xcode_6.2.app and /Applications/Xcode_6.3.app (or similar names)
In both installations, there's a folder Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
In Xcode 6.2, this folder contains packages for iOS 8.2 and many lower versions, but not for 8.3.
In Xcode 6.3, this folder also contains a package for iOS 8.3. In my case, the folder is called 8.3 (12F69)
Copy the iOS 8.3 package from Xcode 6.3 to Xcode 6.2 (this command is one line, of course):
cp -r '/Applications/Xcode_6.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.3 (12F69)' '/Applications/Xcode_6.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport'
Or even better, create a link:
ln -s '/Applications/Xcode_6.3.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/8.3 (12F69)' '/Applications/Xcode_6.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport'
Now restart Xcode 6.2 and connect your device through USB. Xcode should allow you to test apps on it.
Diego Freniche's solution (copying the whole iPhoneOS.platform folder) was a great help, but when I ran my app from Xcode 6.2, it looked slightly different than it did when I deployed an ipa file on the phone (buttons in wrong positions, status bar display wrong). I guess Xcode got confused and built the app as if it was targeted at a different iOS version.
With this solution (only copy one folder in DeviceSupport), it looks like the app works exactly as it is supposed to. I'll let you know if I encounter problems, but I haven't seen any so far.
A little progress, but this is a WIP.
Looks like in Yosemite Xcode 6.2 works correctly with 8.3 devices. Need to test on Mavericks
Testing with Xcode 6.2 in Yosemite (need to test also in Mavericks, any feedback would be appreciated)
Go to your Xcode 6.2 folder and rename
/Applications/Xcode-6.2 copia.app/Contents/Developer/Platforms/iPhoneOS.platform
into
/Applications/Xcode-6.2 copia.app/Contents/Developer/Platforms/iPhoneOS.platform.old
Mount your Xcode 6.3 DMG, install it
Copy from Xcode 6.3 this folder:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
inside your Xcode 6.2 folder.
you'll probably find an error telling you rootuser does not own the simulator / OS Platform folder. To solve that just open Terminal, then:
$ cd /Applications/Xcode6.2.app/Contents/Developer/Platforms
$ sudo chown -R root iPhoneSimulator.platform/
$ sudo chown -R root iPhoneOS.platform/
now you can run your app inside your iOS 8.3 device from Xcode 6.2 but you have no simulators in the target tdestination menu
UPDATE: I'm getting weird errors while ibtool tries to compile the storyboards:
/Users/dfreniche/Desktop/Test/Test/Base.lproj/Main.storyboard: The operation couldn’t be completed. (com.apple.InterfaceBuilder error 2001.)
So finally give up and update to Yosemite. If there's any new info on this, please share.
Had the same problem with connecting iOS8.3 devices to Xcode 6.2 on Mavericks. Ok on a machine at work running Xcode 6.4 on Yosemite. Software update on the Mavericks machine doesn't offer any higher version. Looking at the specs of Xcode 6.4 (and presumably 6.3 of the original question) says it requires OS X 10.10 (i.e. Yosemite). So, whether or not you can hack around it, the behaviour you/we are seeing on Mavericks is what Apple intends.
I have the same issue and I don't want to just use the lastest version of XCode for the need of maintaining my old projects. I end up with installing two versions XCode(6.2 and 6.3) to solve this problem. Here is what I did.
Download XCode6.2 install package from apple site
Upgrade the existed XCode6.2 to x6.3
Open my project on XCode6.3 (this time the device can be recognized by XCode, and I think XCode6.3 might have done some updates to your project.)
Close my project, re-install XCode6.2, there will be a prompt saying I have a newer version and if I want to keep both. Click Yes. Then I have two versions of XCode.
After all those steps done, I can finally open my project and use my device in XCode6.2. Hopefully it can help someone.
XCODE 6.3 is out.. It solved my problem.. If you have Yosemite, you can download the 6.4 beta version

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