xcode cloud build fails - ios

I connected the xcode cloud to my git repo. The repo that I can build the iPhone app successfully, can't build and has issues.
My build fails by 5 errors:
Unable to load contents of file list: '/Target Support Files/Pods-chemnitz/Pods-chemnitz-resources-Release-output-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-chemnitz/Pods-chemnitz-resources-Release-input-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-chemnitz/Pods-chemnitz-frameworks-Release-input-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-chemnitz/Pods-chemnitz-frameworks-Release-output-files.xcfilelist'
unable to open configuration settings file
and then I tried to add pods-chemnitz folder to my git. So these problems are gone but a new issue comes up.
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
I already updated the cocoapods and pod. That didn't work. any idea how can I fix this?

Related

Missing release files while building flutter ios App

I am getting these errors while building my application.
It is flutter application and I am trying to build ios application with XCode Cloud
Could not find included file 'Generated.xcconfig' in search paths Release.xcconfig:2
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-output-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist'
This is my release.xconfig file
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"`
#include "Generated.xcconfig"
I did try pod disintegrate and pod update but it didn't work. I expected working build on an application.

Xcode Cloud: Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-input

i'm new user with Xcode cloud. i'm begin with it today after connect with Xcode Cloud and build i'm get error like this:
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-output-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist'
and
could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig' in search paths
Release.xcconfig:2
could not find included file 'Generated.xcconfig' in search paths
Release.xcconfig:3
in my local. everything work well.

Unable to load contents of file list: '/Target Support Files/Pods-recipeat/Pods-recipeat-frameworks-Debug-input-files.xcfilelist'

When I try to build my project in Xcode 12.4, it gives me the following issues:
Unable to read contents of XCFileList '/Target Support Files/Pods-recipeat/Pods-recipeat-frameworks-Debug-output-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-recipeat/Pods-recipeat-frameworks-Debug-input-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-recipeat/Pods-recipeat-frameworks-Debug-output-files.xcfilelist'
(Recipeat is the name of my project)
The first one is a warning and the second and third are errors.
I have recently tried installing firebase without cocoapods because I was having issues installing the latest version of cocoapods. The tutorial I have been using can be found here: https://firebase.google.com/docs/ios/setup#frameworks
Here is the readme file so you do not have to download the entire framework SDK zip file:
https://gofile.io/d/vvBdDz
Following the instructions in the readme file, I have added the following to my project:
framework files, firebase.h and module.modulemap files (image)
I have also made changes in my build settings:
Other Linker Flags⠀⠀⠀⠀⠀⠀⠀⠀⠀-ObjC
User Header Search Paths⠀⠀⠀⠀⠀⠀⠀⠀⠀$(SRCROOT)
However, when trying to run the project, it fails to build.
Why am I getting these errors? And how can I fix them?
This is my first time installing firebase so it might be that I have forgotten to do something simple - please forgive me.
Thank you already for your help!

Error when installing RestKit without CocoaPods

I'm new to RestKit and I'm trying to add it to my existing iOS Project - following this tutorial.
After installing it as a Git submodule (I'm not using CocoaPods as I already have multiple plugins manually setup) and adding the linker flags, search paths, I'm not able to build it.
Nothing appears in the Issue Navigator, but on the Report navigator I get these errors:
(Check Dependencies)
The file "Pods-RestKit.debug.xconfig" couldn't be opened because there is no such file.
(Run custom shell script 'Check Pods Manifest.lock')
Diff: /../Podfile.lock: No such file or directory
Diff: /Manifest.lock: No such file or directory
The sandbox is not in synch with the Podfile.lock. Run 'pod install' or update your CocoaPods Installation.
After this I tried to run 'pod install' in the subdirectory for RestKit, it installed with success, and when I then try to run the project, I get a 'normal' error that says:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lPods-RestKit
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lPods-RestKit is not an object file (not allowed in a library)
Been stuck at this for a week so would really appreciate any assistance - I've tried researching extensively online but can't find any solution this this.

Fabric fails to install

I'm trying to add Fabric to my project, which is using CocoaPods with Carthage. What I did:
In Fabric app, I've created a new app
In the project I've created new run script called 'Fabric', copied the code from Fabric app (the script is the last script in my project!)
Because the framework file couldn't be found, I've added proper path to Framework Search Paths.
I've also added Fabric framework to my project Link Binary with Libraries stage.
The project still does not build. The error:
2015-07-14 10:51:30.161 run[46263:967908] Fabric.framework/run 1.3.16
2015-07-14 10:51:30.169 run[46263:967908]
Fabric: dSYM Error
Unable to process MyApp.app.dSYM at path
/Users/me/Library/Developer/Xcode/DerivedData/MyApp-gmgvycoixcnkriauasdffkzvdg/Build/Products/Debug-iphonesimulator/MyApp.app.dSYM
Make sure your project build settings are generating a dSYM file.
DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations.
This could also be a timing issue, make sure the Fabric run script build phase
is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.
Command /bin/sh failed with exit code 1
What is wrong..? How to fix it?
Got it. When moving framework to different folder I forgot to change run script from:
./Fabric.framework/run ...
to:
./Frameworks/Fabric.framework/run ...
Everything is working now.

Resources