问题
I created a cross platform OpenGLES application solution on Visual Studio. I paired Visual Studio with vcremote on my Mac. I can successfully compile the solution. When I switch to XCode and open the project which VS 2015 generated and build it I get the following error:
Ld /Users/elodie/Library/Developer/Xcode/DerivedData/iOSAndroGame.iOS.Application-cgfyoibpjigxohbhicqhmkivhjhs/Build/Products/Debug-iphonesimulator/iOSAndroGame.app/iOSAndroGame normal x86_64
cd "/Users/elodie/vcremote/C/Users/elodie/Documents/Visual Studio 2015/Projects/iOSAndroGame/iOSAndroGame/iOSAndroGame.iOS.Application"
export IPHONEOS_DEPLOYMENT_TARGET=8.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -L/Users/elodie/Library/Developer/Xcode/DerivedData/iOSAndroGame.iOS.Application-cgfyoibpjigxohbhicqhmkivhjhs/Build/Products/Debug-iphonesimulator -F/Users/elodie/Library/Developer/Xcode/DerivedData/iOSAndroGame.iOS.Application-cgfyoibpjigxohbhicqhmkivhjhs/Build/Products/Debug-iphonesimulator -filelist /Users/elodie/Library/Developer/Xcode/DerivedData/iOSAndroGame.iOS.Application-cgfyoibpjigxohbhicqhmkivhjhs/Build/Intermediates/iOSAndroGame.iOS.Application.build/Debug-iphonesimulator/iOSAndroGame.build/Objects-normal/x86_64/iOSAndroGame.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.1 -Xlinker -objc_abi_version -Xlinker 2 /Users/elodie/vcremote/C/Users/elodie/Documents/Visual\ Studio\ 2015/Projects/iOSAndroGame/iOSAndroGame/iOSAndroGame.iOS.StaticLibrary/Debug/x86_64/libiOSAndroGame.iOS.StaticLibrary.a -fobjc-arc -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/elodie/Library/Developer/Xcode/DerivedData/iOSAndroGame.iOS.Application-cgfyoibpjigxohbhicqhmkivhjhs/Build/Intermediates/iOSAndroGame.iOS.Application.build/Debug-iphonesimulator/iOSAndroGame.build/Objects-normal/x86_64/iOSAndroGame_dependency_info.dat -o /Users/elodie/Library/Developer/Xcode/DerivedData/iOSAndroGame.iOS.Application-cgfyoibpjigxohbhicqhmkivhjhs/Build/Products/Debug-iphonesimulator/iOSAndroGame.app/iOSAndroGame
clang: error: no such file or directory: '/Users/elodie/vcremote/C/Users/elodie/Documents/Visual Studio 2015/Projects/iOSAndroGame/iOSAndroGame/iOSAndroGame.iOS.StaticLibrary/Debug/x86_64/libiOSAndroGame.iOS.StaticLibrary.a'
Any ideas on why XCode can't find the static library?
来源:https://stackoverflow.com/questions/35884087/opengles-application-android-ios-on-visual-studio