Я недавно обновил свою систему до
Xcode: 10
OSX: Мохаве 10,14
В течение нескольких дней моя iOS-разработка работает нормально, но неожиданно начинают появляться следующие проблемы.
dyld: Library not loaded: @rpath/Appsee.framework/Appsee
Referenced from: /Users/a.b.ak1b/Library/Developer/CoreSimulator/Devices/2223E5BD-215F-48D7-8649-2D63ECBAE2B6/data/Containers/Bundle/Application/59E09AD0-ADAB-4221-A334-70F71DC6AC0B/MyApp.app/MyApp
Reason: image not found
Но эта проблема была исправлена путем изменения Xcode
-> File
-> Workspace Setting
-> Build Setting
-> Legacy Build Setting
Затем я получил ошибку «Отказано в доступе» для команды rm
в одном из сценариев оболочки, использованных при построении цели.
Showing All Messages
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Common: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/USGlobals.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRKeepAliveData.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/AFSOAPClient.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRHubRegistrationData.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRHubProxy.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/CMSeatMapWingView.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRHubProxyInterface.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRLog.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/GrafanaClient.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/NSObject+SRJSON.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRHubConnectionInterface.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRHubInvocation.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/AFIncrementalStoreHTTPClient.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRHubConnection.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRLongPollingTransport.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/ApplicationBuildConfiguration.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/ServiceConfiguration.h: Permission denied
rm: /Users/a.b.ak1b/Documents/work/iOS-App-1/Library/Common/../Vendor/Common.framework/Versions/A/Headers/SRConnectionInterface.h: Permission denied
Пока мне нужно построить цель, используя sudo xcodebuild
. Не найден способ запустить сборку с использованием xcode, чтобы избежать этой ошибки.