Posts

Post not yet marked as solved
3 Replies
2.1k Views
Hello , I am facing following error while building my project on xcode cloud using custom ci scripts . Error: ci_post_clone.sh script is failing with following error. Run command: 'cd /Volumes/workspace/repository/ci_scripts && /Volumes/workspace/repository/ci_scripts/ci_post_clone.sh' /Volumes/Task/ci_plan.env: line 2: unexpected EOF while looking for matching `'' /Volumes/Task/ci_plan.env: line 3: syntax error: unexpected end of file Here is my script : ci_post_clone.sh #!/bin/sh touch availCert-dev.p12 touch availCert-qa.p12 touch availCert-stage.p12 touch availCert-prod.p12 ls -la It also shows a warning message for shebang: The ci_post_clone.sh is executable but exited with 1 exit code. Make sure a valid shebang line is specified if the file is a script and that the interpreter specified in the shebang line is supported on Xcode Cloud. I will be appreciative for response on this issue. Thank You
Posted
by atandel.
Last updated
.
Post not yet marked as solved
0 Replies
421 Views
Hello , We have an ios application project that is developed on xcode. While generating the ipa file from jenkins job , the app is working well. We tried using fastlane on a different machine , the app works well on IPAD which is created from one of the macbook machine . But same fastlane steps , when we following from gitlab pipeline on same machine, the ipa file gets generated successfully and also gets deployed to testflight successfully . But app is crashing on ipad. We tested development IPA as well on following machines with specified configuration. Macmini ( local and gitlab - both build fails ) xcode version : 14.3.1 macos version : 13.4.1 swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0 code signing certificate : apple development cert fastlane version : 2.214.0 Mabook ( local build works, gitlab build fails ) xcode version : 14.3.1 macos version : 13.4.1 swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0 code signing certificate : apple development cert fastlane version : 2.214.0 Jenkins (works well) xcode version : 14.3.1 macos version : 13.2.1 swift-driver version: swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0 code signing certificate : apple development cert From above configuration, we can see versions used for xcode and macos are all same . And steps followed are also same . We are trying to figure out why app built on one machine crashes ,while other is working well. Please help us understand the cause . I will be appreciative for response on this issue. Thanks and Regards, Anjali Tandel
Posted
by atandel.
Last updated
.