xudafeng / devicelog

Node.js wrapper for device log

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macosx 10.13 build failed

qddegtya opened this issue · comments

ENV

macOS SDKs:
	macOS 10.13                   	-sdk macosx10.13

LOG

Ld build/Release/devicelog normal x86_64
    cd /Users/archer/Desktop/jjjjjjjjjjjj/devicelog
    export MACOSX_DEPLOYMENT_TARGET=10.12
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Users/archer/Desktop/jjjjjjjjjjjj/devicelog/build/Release -F/Users/archer/Desktop/jjjjjjjjjjjj/devicelog/build/Release -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/PrivateFrameworks -filelist /Users/archer/Desktop/jjjjjjjjjjjj/devicelog/build/devicelog.build/Release/devicelog.build/Objects-normal/x86_64/devicelog.LinkFileList -mmacosx-version-min=10.12 -Xlinker -object_path_lto -Xlinker /Users/archer/Desktop/jjjjjjjjjjjj/devicelog/build/devicelog.build/Release/devicelog.build/Objects-normal/x86_64/devicelog_lto.o -framework MobileDevice -Xlinker -dependency_info -Xlinker /Users/archer/Desktop/jjjjjjjjjjjj/devicelog/build/devicelog.build/Release/devicelog.build/Objects-normal/x86_64/devicelog_dependency_info.dat -o /Users/archer/Desktop/jjjjjjjjjjjj/devicelog/build/Release/devicelog
ld: framework not found MobileDevice
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Duplicate of ios-control/ios-deploy#308

I've tried this one step and fix this problem:

cp the MobileDevice.framework from /System/Library/PrivateFrameworks/MobileDevice.framework into the macosx10.13 PATH /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/PrivateFrameworks/MobileDevice.framework

make clean & build again.