I’m making an attempt to setup a pipeline in github to create an utility with fastlane and push it to the appstore.
I’ve some troubles understanding bitcode problematics, extra over with the totally different variations of xcode. My hassle occur when I attempt to construct the app, as a result of considered one of my dependancy doesn’t have bitcode in it. right here is the stacktrace in regards to the error:
ld: '/Customers/runner/Library/Developer/Xcode/DerivedData/App-hktscdrwwpxombeaagjploucipfj/Construct/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Launch-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport/FirebaseAnalytics.framework/FirebaseAnalytics(FIRAEvent.o)'
doesn't comprise bitcode.You will need to rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), get hold of an up to date library from the seller, or disable bitcode for this goal.
file '/Customers/runner/Library/Developer/Xcode/DerivedData/App-hktscdrwwpxombeaagjploucipfj/Construct/Intermediates.noindex/ArchiveIntermediates/App/BuildProductsPath/Launch-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport/FirebaseAnalytics.framework/FirebaseAnalytics'
for structure arm64
and right here is my build_app motion (I skipped the match half and all)
build_app(
workspace: use_workspace ? ENV['WORKSPACE_PATH'] : nil,
venture: !use_workspace ? ENV['PROJECT_PATH'] : nil,
scheme: "App",
output_directory: File.dirname(ENV['OUTPUT_PATH']),
output_name: File.basename(ENV['OUTPUT_PATH']),
clear: true,
export_method: ENV['EXPORT_METHOD'],
export_team_id: ENV['TEAM_ID'],
silent: true
)
and the present variations I’m utilizing:
+---------------+--------------------------------+
| Construct surroundings |
+---------------+--------------------------------+
| xcode_path | /Purposes/Xcode_13.2.1.app |
| gym_version | 2.214.0 |
| export_method | app-store |
| sdk | iPhoneOS15.2.sdk |
+---------------+--------------------------------+
nonetheless, I perceive that bitcode is deprecated, so it shouldn’t be an issue to not have bitcode ? Or if one a part of the app have bit code have bitcode, all ought to?
Simply in case, I additionally added the next key within the data.plist:
<key>ENABLE_BITCODE</key>
<false/>
however with out a lot success. I’m fairly certain, it will be a simple problematic to setup in xcode on an area machine (like this situation), however I’m a home windows person, and therefor can not run it.
I consider I’m lacking one thing apparent, however can not determine it out… assist can be a lot appreciated!
cheers,