-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ANNOUNCEMENT] Status of Xcode 10 support #407
Comments
Just note here that the build.json file should look like this :
not
like "mentioned" in the previous comment ;p |
Thanks, @dpogue |
is this why im getting this issue ERROR ITMS-90174: "Missing Provisioning Profile - Apps must contain a provisioning profile in a file named embedded.mobileprovision." is there a workaround ? |
@neofuture I am also encountering this after upgrading to XCode 10 |
Then open an issue please that has all available information on these failures @neofuture and @aceoliver. Thanks. |
@dpogue Thanks! The answer solved my problem. |
This comment has been minimized.
This comment has been minimized.
@sambegin Thanks for the workaround. Where is this build.json file is present in the app directory structure? |
Btw this worked for me: |
@jeffreyramia with the help of your answer I am able to build an app but whenever I am trying to emulate it gives me an error as "platforms/ios/build/emulator/demo APP.app/Info.plist file not found. |
If you use pure cordova ios, you can run like:
|
@PeterStegnar I won't be run because info.plist not present in the /build directory. |
Yes this happen if you are using new build system. If you say to compiler to build legacy build then it is OK. All you need to do it so use:
|
Just do document what I'm seeing Build with the new command Seems to build just fine and was able to push a version to the phone. For ionic I see a build.json file. I add the following to it.
It seems to look at the build.json, either I don't have it setup right or something because its not using the command.
I don't think that error surprise us. But not sure why adding the command to build.json file doesn't seem to work. |
That error about code signing is unrelated to the new build system. |
Okay, so I don't have the build.json file really setup to be used. Other values would need to be in there. For now just have to use the command line. |
Is there any plan to support the modern build system? |
Yes, in the next major version, which we're currently working on. But we don't have a timeline for release beyond something before the end of the year. |
@PeterStegnar Thanks I am able to build and emulate app on ios with the help of --buildFlag='-UseModernBuildSystem=0' this flag. Does anyone have documentation link for this flag? |
Is anyone having trouble using the |
|
@andrewmcewen Yes: I get a lot of |
For a moment I was about to say "I can't believe Apple is going to force all development to Xcode 10 to support iOS 12.1 when there are so many outstanding issues." Then I realized..."Oh, its Apple...duh". I too got the above March 19th WARNING when I submitted a new version of my app yesterday. If I upgrade to Xcode 10.1 to 'officially' support iOS 12.1, then what is the minimum version cordova-ios needed? I am currently on 4.5.4. If I move only to 4.5.5, what are the big gotchyas for trying to develop for 12.1? It's all just a bunch of Rotten Apples. I LOATHE developing for iOS. |
…508) * remove functions removing certificates in .app package * remove comments in copy-www-build-step.js
Keeping this ticket open until platform release. |
Is there any update regarding this issue? Using the |
I tried the tutorial but getting the error: Can someone help me? |
Anyone encountered wrong "text encoding" issue for localizable.strings, which now Xcode 10.1 doesn't allow to build project before fixed? At first, I thought it's due to a corrupted file, then suspected a resource of third-party plugin, but seems any localizable.strings being added into ios platform are deemed to have wrong text encoding where their contents are actually UTF-8 (plain text file, English words). This can be fixed through Xcode but it's blocking me to auto-build using command line. [ERROR] Any one can help please? |
Hello, Does anybody know when cordova-ios 5.0.0 will be available for production? What is the current state? I'm obviously asking because of apple's decision to shutdown anything prior to xcode 10 soon. I'm not involved in the cordova-ios project. So any information would be appreciated. If you happen to know how the process works for releasing a cordova version (for example, what determines if a build is production ready or not and where I can find such stats), I would greatly appreciate it. Thank you |
It is still currently in the middle of the release process. It is recommended to wait until it is released on NPM. |
@erisu My apologies. I assumed once it was tagged here we were good to go. |
@dpogue you sir won the internet today!!! |
Not to tick anyone off or insult anyone or the effort into making 5.0.0 happen, but how tested is the latest release - or can we all ignore my inquiry and just thank Apple for forcing us into bleeding edge? For the record....its stuff like this...and a gazillion other things about Apple that tick me off. Nothing but a bunch of rotten Apples. |
Here is also the Cordova iOS 5.0.0 Release Blog Post. |
Thanks to everyone involved! |
Good to hear. Thanks. It is really appreciated for your hard work. |
I'm slightly confused about the release. Does it mean if I update to 5.0.0, using Thanks! |
That's correct |
@dpogue It seems as though setting UseModernBuildSystem=1 is still behaving like it used to, even after upgrading to 5.0.0. Can you show a sample output of a build process using the new build system? |
After adding [email protected], can't add onesingal plugin. It shows this issue:
|
Firstly, I'm going to lock discussion on this issue, since it is closed. Please open new issues for problems that you find with [email protected]. |
A few issues have started to come in regarding the state of Cordova projects on Xcode 10. This is a rough summary of the situation:
Xcode 10 uses a new build system by default (previously available on an opt-in basis in Xcode 9). The cordova-ios project structure is not compatible with this new build system and results in failures.
Officially, we do not claim to support Xcode 10.
Currently the best workaround is to opt-out of the new build system:
If you're building on the command-line, you can specify
--buildFlag="-UseModernBuildSystem=0"
:If you're building with a build.json config file, you can add the following under the iOS release or debug config:
If you are opening the project in the Xcode IDE, you need to change the build system in Workspace Settings to "Legacy Build System"
Xcode example
Thanks kitolog for the screenshots!
We're going to investigate what's required to make cordova-ios compatible with the new build system, and hope to include that in the next major version ([email protected]).
The text was updated successfully, but these errors were encountered: