Hey guys,
I can build for both iOS and Android locally just fine. I attempted to do some post process build stuff for iOS but this error keeps happening regardless when I build on Cloud. It looks like it’s trying to find an android library but why would it even bother on an iOS build? Android is building fine on cloud so I’m really confused on what is actually happening here.
9123: [xcode] cd /BUILD_PATH/few-remain-llc.slashed-2-bits.default-ios/temp.cLR9eK
9124: [xcode] export PATH=“/APPLICATION_PATH/Xcode7_2_1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode7_2_1.app/Contents/Developer/usr/bin:/Applications/Android Studio.app/sdk/:/BUILD_PATH/bin/:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin:/Applications/Android Studio.app/sdk/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/buildbot/.mason/buildpacks/unity/libs/vendor/jsawk:/Users/buildbot/.mason/buildpacks/xcode/libs/vendor/jsawk:/Users/buildbot/.rvm/bin”
9125: [xcode] /BUILD_PATH/few-remain-llc.slashed-2-bits.default-ios/temp.cLR9eK/Libraries/Plugins/Android/jni/jni.cpp:1:10: fatal error: ‘jni.h’ file not found
9126: [xcode] #include <jni.h>
9127: [xcode] 1 error generated.
9128: [xcode] ** BUILD FAILED **
9129: [xcode] The following build commands failed:
9130: [xcode] CompileC build/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/jni.o Libraries/Plugins/Android/jni/jni.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
9131: [xcode] (1 failure)
9132: ! build of ‘default-ios’ failed. compile failed
9133: Publishing build 17 of few-remain-llc/slashed-2-bits for target ‘default-ios’…
9134: Uploading extra_data/artifacts/icon.png …done