phonegap xcode 4.3 - ios

Yesterday I started to develop with Phonegap.
I downloaded phonegap and xCode 4.3 from the Mac App Store.
When I try to install phonegap it says: no iOS SDK installed.
I searched the web but couldn't find any solution.
Can someone tell what I need to do?
Thanks
EDIT 2
Alright, phonegap 1.5 is released today and it works with Xcode 4.3. Sweet :)
EDIT
Found a work-a-round
https://github.com/apache/incubator-cordova-ios/blob/master/CordovaInstaller/CordovaInstaller.pmdoc/index.xml#L36-47

Patching and building PhoneGap installer didn't work for me. :(
Just create Xcode and iOS SDK directories to skip the requirements part.
sudo mkdir -p /Developer/Applications/Xcode.app
sudo mkdir -p /Developer/Platforms/iPhoneOS.platform
And install with the package from http://phonegap.com/

Phonegap wasn't ready for Apple's latest Xcode surprise, that being the removal of the traditional /Developer and SDK directories.
You'll have to go back to Xcode 4.2 or wait a few weeks for PhoneGap 1.5 or 1.6.
This Phonegap Discussion group thread here has another suggestion: a patch that takes the SDK check out of the PhoneGap installer (see these highlighted lines in GitHub)

Related

Not able to run my app on Simulator which using Agora iOS SDK

I am building an iOS application which is using Agora iOS SDK pod 'AgoraRtcEngine_iOS' version 3.3.2
When I run application using real device it is working fine. But when I build application using simulator it gives an error:
Framework not found AgoraAIDenoiseExtension
My laptop has Apple M1 chip and OS Big Sur version 11.2
Please help!
I solved this issue by adding AgoraAIDenoiseExtension.xcframework file in Frameworks and Libraries
Steps to follow:
Select your project
Go to General Tab
Go to Frameworks and Libraries and click on + button.
Add respective framework files
Clean and Run your project
I see that you've solved it with a temporary fix Dalijeet, but another solution would be to use swift package manager here:
https://github.com/AgoraIO/AgoraRtcEngine_iOS

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

how to do Good SDK 3.1.0 integration with Xcode 8.3.2?

I have installed xcode v8.3.2 and trying to integrate good sdk v3.1.0, but I am unable to do so. When I went through release notes I found that this latest version will not support to Xcode 8.3 and later versions. But one of my colleagues is able to use the latest version of good sdk with Xcode 8.3.1 without any issue. How can we resolve this?
As you need to install Xcode and good sdk in the applications folder on the system.This is the way it worked for me.

How to install cordova(phonegap) ios app to device via cli and not via xcode

I am trying to create a simple project with last phonegap version:
$ phonegap create my-project
$ phonegap build ios
$ phonegap install ios
All works perfectly and I see emulator with my simple application.
But I can't find documentation on how to run my application on device(iphone, for example) and not on a simulator.
All documentation by cordova / phonegap based on examples with cordova's template for xcode.
But last cordova's version don't have template for xcode and all that I need - cli, if I understand correctly?
I already registered as IOS developer and I have a valid iPhone development certificate.
When I connect my device - I can see it in xcode and I can run native application on my device.
But only via xcode.
I will be grateful to any advice.
If the cordova app builds and runs on the simulator, try running cordova run ios --device
This worked for me, when before it was only hitting the simulator.
Alternatively, if that STILL doesn't work for you, when you run codova build ios, to just build the app, you could use itunes to sync the generated .app file in <project_folder>/platforms/ios/build/device/AppName.app
There is an Apple CLI tool canned xcodebuild, as well as this wrapper around it by Facebook. I'd suggest trying out either that or look at the build-in xcodebuild shipped with xcode.
Hopefully one of them will work.
https://github.com/facebook/xctool
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html
If you use Cordova CLI, you should be able to do this:
cordova run ios

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