- Home /
"Call to unavailable function: 'system': not available on iOS
I am trying to create an iOS 11 build for an iPhone 8 simulator using a project previously used in Unity 4.7.2, but the build fails because in the Classes file "main.mm", there is an error message that reads "Call to unavailable function 'system': not available on iOS." The line where the error occurs, written in "main.mm", says:
extern "C" int system$UNIX2003(const char* command) { return system(command); }
If anyone could help with this, I would be grateful.
Your answer
Follow this Question
Related Questions
Xcode error when Archiving linker command failed with exit code 1 (use -v to see invocation) clang 1 Answer
Build errors : This function declaration is not a prototype. 2 Answers
iOS Xcode LLVM error when team members try to build 0 Answers
App quits on start after upgrading to Unity3.3 2 Answers
No .xcode project when building to iOS in Unity 2018.2.3f1 0 Answers