我正在尝试将静态库合并到一个库中。
这是脚本:
rm -rf ${BUILT_PRODUCTS_DIR}/libAggregate.a
lipo -create "${BUILT_PRODUCTS_DIR}/../${CONFIGURATION}-iphonesimulator/libStatic Library.a"
"${BUILT_PRODUCTS_DIR}/libStatic Library Device.a" -output "${BUILT_PRODUCTS_DIR}/libAggregate.a"
但我收到了这个错误
/Users/Me/Library/Developer/Xcode/DerivedData/Static_Library-bcdrrwpqmxtbqghkamlqbrgjkmfi/Build/Products/Release-iphoneos/libStatic Library Device.a:权限被拒绝
如何解决?