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

iphoneos is not an iOS SDK #52

Closed
syq7970 opened this issue Jun 7, 2019 · 1 comment
Closed

iphoneos is not an iOS SDK #52

syq7970 opened this issue Jun 7, 2019 · 1 comment

Comments

@syq7970
Copy link

@syq7970 syq7970 commented Jun 7, 2019

Building example-lib get an error:

CMake Error at /usr/local/Cellar/cmake/3.14.5/share/cmake/Modules/Platform/iOS-Initialize.cmake:4 (message):
  iphoneos is not an iOS SDK
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.14.5/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
  CMakeLists.txt:2 (project)

use cmake 3.15.rc not working.
can some one help me?

@syq7970

This comment has been minimized.

Copy link
Author

@syq7970 syq7970 commented Jun 7, 2019

Resolved!
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

@syq7970 syq7970 closed this Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.