I use phonegap/cordova >= 3.0.0
Unfortunately I don't have an apple developer-membership.
Therefor I created a brandnew phonegap project on my mac. Without developer-key I couldn't run the project from the termina. So I opened xCode and I imported the created project. Now I put my android-project files from my windows computer into the www-order of the mac.
If I now start the app on a simulator by xCode, I always get a pluginManager message I don't understand:
Edit:
I added the plugin by console and now I get this error on xCode:
I just put the entire phonegap folder from android into the ios www folder of xCode. Do I have to readd the plugins on mac then?
Related
I want to create an iOS build for my cordova app. For this i must use Xcode. I cloned the repository and tried to open it using File > open > path but I always get the following error:
The project does not have any .xcodeproj or other xcode-related files in it because it was not developped in Xcode.
What I've tried already:
I also tried opening xcode from the terminal inside the project-directory but that resultet in the same error.
Restarted the Mac and Xcode.
Logged out of my Apple- and GitHub accounts in Xcode and logged in again.
Deleted all of the DerivedData files and iOS Device Logs
I'd be very glad if someone could help me.
If you look at https://cordova.apache.org/docs/en/11.x/guide/cli/index.html, there are steps how to create a project for iOS.
Here is a snapshot:
Add Platforms
cordova platform add ios
cordova platform ls
Build the App
cordova build ios
That should create an Xcode project.
Under
Apple Store Connect
It states to:
Submit your builds using Xcode or Application Loader.
But there are no instructions, into how to make the build from VUE/CORDOVA into Xcode
How do you do this?
Have tried opening the project within XCODE, have tried creating a new schema, open the build/www folder from XCODE and still same problem.
done the following
Deploying
Deploy for android
yarn cordova-build-android
Deploy for iOS
yarn cordova-build-ios
Error opening the folder with XCODE
You open the XCODE project actually by opening the platforms/ios/ or simply the .codeproj within the same directory
I'm trying to archive my IOS app (ionic app) and test it on device with Xcode.
When I run my app directly on device, everything is fine. I tried both debug and release scheme.
When I archive my app then upload it to a device with Xcode or via Testflight, I got no error, but I think some plugins are missing because app is broken.
unfortunately I can't debug JavaScript on this archived app so i'm not sure of the error.
all plugins are well listed when i run cordova plugin list and all are in plugins/ios.json file.
Everything is fine on Android
Any idea ?
thanks
I update my cordova version and delete plugins/ios.json file.
Now it's work !
I have installed Worklight 6.1.0 in Eclipse Kepler in OS X 10.9.2.
I wish to create a hybrid application in iPhone environment. Generally, creating an iPhone mobile application requires Xcode and iOS SDK. I don't know how to link Xcode with worklight. Any tutorials or documentation?
Sure, plenty of tutorials, see: IBM Worklight Getting Started training modules.
The steps are:
Create new Worklight project
Add an application
Add the iPhone and/or iPad environment
You can now:
Right-click on the iPhone folder and select Run As > Xcode project
This will build and deploy the app to the Worklight Server + open the generated iOS project in Xcode
Or:
Right-click on the app folder and select Run As > Run on Worklight Development Server
This will build and deploy the app to the Worklight Server.
Navigate to the iphone\package folder and copy from it the generated, zipped, Xcode project
You can now paste it somewhere, like on the Desktop, extract it and double-click the .xcodeproj file to open the project in Xcode
You do not need to link any SDKs. Worklight does most of the job for you. It generates a fully functioning Xcode project containing your web app within, hence a Worklight Hybrid app.
The above does not replace reading the training material!
I've recently upgraded from Worklight 6.0 to 6.1 and I'm trying to get an update from a 6.1 Worklight Server from an iPhone that has a version built from 6.0 on it. This does not seem to work, so I figured I must manually deploy a version on the iPhone that was built from 6.1 in order to get the update. So I deleted the native folder under iPhone so that when I build it would regenerate itself, but I got the following error on build:
iphone build failed: com.worklight.builder.sourcemanager.handlers.ios.settings.IOSAddRemoveSettingsRefHandler - cannot update content of pbxproj file
My Worklight Studio version: 6.1.0.00-20131219-1900
The platform version in my application-description is also 6.1.0.00-20131219-1900.
I was able to rebuild the Android version and redeploy on my phone and successfully get updates.
Any ideas what the problem could be? I thought that if I deleted the native folder I should be able to always generate a new one by building.
Try the following:
Close Eclipse
Locate your temp folder (Windows, OS X, Linux)
Delete the wlBuildResources folder
Open Eclipse
Re-build