xcode中如何设置编译后的app路径
Xcode>>Preferences>>Locations>>Locations,
Derived Data的右侧有个Advanced按钮,点击之后Build Location改成自己想要的位置就可以了
编译:xcodebuild -workspace wsname.xcworkspace -scheme schemename-sdk iphoneos -configuration release
如果不设置编译后的app位置,那么默认的编译位置放在xxx/Xcode/DerivedData/Build/Products/Release-iphoneos中,如下所示
打包:xcrun -sdk iphoneos PackageApplication -v xxx/Xcode/DerivedData/Build/Products/Release-iphoneos/xx.app -o /Users/xx/Desktop/aa.ipa
清空:xcodebuild -workspace wsname.xcworkspace -scheme iFunshionPortrait -sdk iphoneos -configuration release clean
打包:xcrun -sdk iphoneos PackageApplication -v xxx/Xcode/DerivedData/Build/Products/Release-iphoneos/xx.app -o /Users/xx/Desktop/aa.ipa
清空:xcodebuild -workspace wsname.xcworkspace -scheme iFunshionPortrait -sdk iphoneos -configuration release clean