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

Problem running ofxPd on latest iOS and Xcode #68

Closed
sourya-sen opened this Issue Jan 6, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@sourya-sen
Copy link

sourya-sen commented Jan 6, 2019

This is the error
clang: error: the clang compiler does not support '-mtune=native'

@sourya-sen

This comment has been minimized.

Copy link

sourya-sen commented Jan 6, 2019

Taking -mtune=native out of the C++ compiler flags seems to build the app/project, but unfortunately on the iPad it immediately crashes.

@sourya-sen

This comment has been minimized.

Copy link

sourya-sen commented Jan 6, 2019

Crash was related to Info.plist not containing a message for microphone usage - but now it works with just taking out -mtune=native from the C++ build flags. If I can find out from where they originate in the actual ofxPd setup, I can send a pull request, but if anyone else is running into this issue, remove that entry from the other C++ compiler flags section. Also add NSMicrophoneUsageDescription in the info.plist file else the app will crash.

@danomatika

This comment has been minimized.

Copy link
Owner

danomatika commented Jan 7, 2019

This is most likely an issue with the Project Generator as ofxPd does not come with pre-generated project files. The "-mtune=native" flag is not set within the addon_config.mk either. You should probably open an issue with the Project Generator repository.

As for the mic description, this is required for all apps using microphone input and there is no (easy) way for the Project Generator to add this automatically. I've simply added info on how to do this to the readme for now.

@danomatika danomatika closed this Jan 7, 2019

@sourya-sen

This comment has been minimized.

Copy link

sourya-sen commented Jan 7, 2019

Thanks - raised the issue with Project Generator repo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment