Skip to content
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

Please be more verbose on iOS setup #41

Closed
jfoclpf opened this issue Jan 13, 2021 · 2 comments
Closed

Please be more verbose on iOS setup #41

jfoclpf opened this issue Jan 13, 2021 · 2 comments
Assignees
Labels
question Further information is requested by the issue / pr raiser

Comments

@jfoclpf
Copy link

jfoclpf commented Jan 13, 2021

I'm not that versed in iOS. Can you be more verbose on the iOS setup?

For iOS please also follow the steps below.

Once the iOS platform is added in command line, change directory to where podfile is found. Example location :- (myapp/platforms/ios).
Make sure you have cocoapods installed then in command line do pod update.
Now open myapp.xcworkspace which is usually found in the same directory as the podfile, then build and run.
Note :- if you use myapp.xcodeproj to build and run, it will not work and it will show a linker error.
Note :- if you manually create the podfile, please refer to issue #2

I did this from my app directory

cd platforms/ios
pod update

Till now, ok!

What do you mean exactly with "Now open myapp.xcworkspace which is usually found in the same directory as the podfile, then build and run"?

How do I build and run?

@ChrisTomAlx
Copy link
Collaborator

You can open the xcworkspace file in xcode and build run there or after pod install use build flags along with cordova build to build on the cli. Refer the official cordova website for more details about build flags.

Please feel free to raise a pr for the readme, if you think I have missed something.

Cheers,
Chris
Neutrinos

@ChrisTomAlx
Copy link
Collaborator

Here is an example build cli command with build flags :-

cordova build ios --device --codeSignIdentity="iPhone Developer" --developmentTeam="<yourTeamId>" --buildFlag="-allowProvisioningUpdates" --buildFlag="-UseModernBuildSystem=0"

You might have to change some things based on your setup.

Cheers,
Chris
Neutrinos

@ChrisTomAlx ChrisTomAlx self-assigned this Jan 15, 2021
@ChrisTomAlx ChrisTomAlx added the question Further information is requested by the issue / pr raiser label Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested by the issue / pr raiser
Projects
None yet
Development

No branches or pull requests

2 participants