Since around 8 days agos all of our jobs fail with the following error:
▸ Running script ‘[CP] Copy XCFrameworks’
error: Sandbox: rsync.samba(12267) deny(1) file-write-create /Users/distiller/project/App1/build/DerivedData/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAnalytics/GoogleAnalytics.framework/Headers (in target ‘GoogleAnalytics’ from project ‘Pods’)
I tried to rerun jobs that passed 10 days ago and they also fail with the same error.
Did anyone else have the same error and managed to resolve this issue?
Build iOS app for simulators - unit tests.
Xcode 15.2 (also tried Xcode 15.4)
cocoa pods 1.14.3
fastlane (latest)
If I manually run this build phase using SSH connection to the circle ci build machine it pass:
pre set the required environment variables - PODS_ROOT, ARCHS, PLATFORM_NAME, PODS_XCFRAMEWORDS_BUILD_DIR
VM-8b0b7afd3b:GoogleAnalytics distiller$ ./GoogleAnalytics-xcframeworks.sh
Selected xcframework slice ios-arm64_i386_x86_64-simulator
rsync --delete -av --filter P .*.?????? --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" "/Users/distiller/project/App1/Pods//GoogleAnalytics/Frameworks/GoogleAnalytics.xcframework/ios-arm64_i386_x86_64-simulator/*" "/Users/distiller/project/App1/build/DerivedData/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/GoogleAnalytics"
building file list ... done
GoogleAnalytics.framework/GoogleAnalytics
GoogleAnalytics.framework/Info.plist
GoogleAnalytics.framework/Headers/
GoogleAnalytics.framework/Headers/GAI.h
GoogleAnalytics.framework/Headers/GAIDictionaryBuilder.h
GoogleAnalytics.framework/Headers/GAIEcommerceFields.h
GoogleAnalytics.framework/Headers/GAIEcommerceProduct.h
GoogleAnalytics.framework/Headers/GAIEcommerceProductAction.h
GoogleAnalytics.framework/Headers/GAIEcommercePromotion.h
GoogleAnalytics.framework/Headers/GAIFields.h
GoogleAnalytics.framework/Headers/GAILogger.h
GoogleAnalytics.framework/Headers/GAITrackedViewController.h
GoogleAnalytics.framework/Headers/GAITracker.h
GoogleAnalytics.framework/Headers/GoogleAnalytics-umbrella.h
GoogleAnalytics.framework/Modules/
GoogleAnalytics.framework/Modules/module.modulemap
sent 1910691 bytes received 340 bytes 3822062.00 bytes/sec
total size is 1909358 speedup is 1.00
The issue was found to be in the latest version of Fastlane.
I downgraded Fastlane to a known to work version (2.222.0) and the issue resolved.
system
Closed
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.