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
xcode iOS toolchains with CMake and enterprise account #720
Comments
If you want to build for iOS, you will have to use an
You could run something like this:
You can find a list of toolchains in the top level of this project: |
i know those, but i have more interested in Native IOS build of news 8/10 |
I'm not sure I follow, but if you want to build the native iOS facefilter app from the 8/10 commit, it will be built from the top level CMake/polly build with option |
What did you type? What version of Xcode do you have and which version of iOS do you have installed on your phone? It sounds like you aren't using an iOS toolchain. If you build from polly.py and use a toolchain starting with
|
xcode 9.4, ios 11.4 |
This won't work. You have to cross compile for your iPhoneOS target from your macOS host, which requires a toolchain.
In that case, the You can find more details about polly iOS toolchains here. |
thx |
You will have to set the POLLY_IOS_DEVELOPMENT_TEAM and the POLLY_IOS_BUNDLE_IDENTIFIER. Please read this section for details related to the Bundle ID. The setup in the last link is a 1x process which I believe you need to do the first time you install Xcode. You will need to have a valid Apple Developer account to run on your phone. I'll add more details about the iOS setup on the README. Unfortunately the code signing steps make the "quick start" a little less quick for iOS devices 😄 |
I've updated the README w/ the above notes and clarified the need for a toolchain to run the iOS builds. |
Is there any way to pass -allowProvisioningUpdates to xcodebuild with polly.py?
|
No. The error you are hitting is the one that is described in this link. This can happen if you are using an enterprise account. The link provides a solution for the problem. I've posted the error + link to the README. Let me know if that helps. |
i have tried to set POLLY_IOS_BUNDLE_IDENTIFIER that is described in that link , both enterprise account and my personal account. it's not work. maybe i still need to set something when using my personal account. when i fix this signing issue , i will post my solution in this post |
Okay, that would be helpful. Unfortunately, this issue is hard for me to reproduce and troubleshoot. Here are two issues that provide background on the above polly links. I think it will be worthwhile reading through those: |
Can you step through the setup in the follow link and post the results here? This will help verify your development setup. https://polly.readthedocs.io/en/latest/toolchains/ios/bundle-id.html#bundle-id |
https://polly.readthedocs.io/en/latest/toolchains/ios/bundle-id.html#bundle-id it's not work. i will read through those issues |
Okay, that's good, actually. It means you have Apple environment + code signing issues that are unrelated to polly + toolchains. If you can get the last step working with a minimal project, i.e.: "Run example on real device. By this you will verify that build and signing is working correctly" The polly build should work. |
I want to build ios app with cmake 3.11.4
I chose folder drishti and get a log
-- config.cmake --
MSVC:
APPLE: 1
ANDROID:
IOS:
is_linux: 0
XCODE: 1
its a log for build macOS.
which folder i should choose, or where to config ios build?
Thanks
The text was updated successfully, but these errors were encountered: