Questions tagged [xcode-archive]

16 questions
60
votes
26 answers

command/usr/bin/codesign failed with exit code 1- code sign error

I'm currently in the process of submitting my first app to the Apple store. I've completed the following processes Obtained a developer account Logged into the Member Center to Create an App ID Used keychain access to request and receive a…
LeleMarieC
  • 731
  • 1
  • 6
  • 9
28
votes
3 answers

Xcode 4 target build setting "Skip install". What is it?

The tile basically says it all. I'm developing a mac app which has the normal app target, but also has two more command-line tool targets whose products are copied to the app when building. I remember seeing somewhere that the "Skip install" was…
Alex
  • 5,009
  • 3
  • 39
  • 73
17
votes
9 answers

Xcode Archive debug strip errors

I am trying to integrate a large legacy C++ library with an iOS app. We are able to build and run on device but we are not able to archive the app. Archiving fails with the following error. Command…
HatAndBeard
  • 1,416
  • 3
  • 18
  • 31
10
votes
2 answers

Xcode 14 and missing sync with CFBundleVersion edit in Info.plist during Build/Archive

In my iOS apps, i have a script (a build phase actually) that upgrades the target's Info.plist CFBundleVersion to a number related to the git commit count. I've been using for a while and it works for me, never a problem. On Xcode 14, something has…
lucadb
  • 422
  • 1
  • 6
  • 15
2
votes
3 answers

Archiving successful but ends with BCSymbolMaps error and proceeding impossible because a similar file already exists

This error comes up after archiving "A file with the name “0D43A9F9-2A23-386C-9568-E0D28099B3D5.bcsymbolmap” already exists. To save the file, either provide a different name, or move aside or delete the existing file, and try again." It is…
Tesleem
  • 55
  • 6
2
votes
0 answers

How do I fix `Provisioning profile doesn't include entitlements` for a fastlane deployment with multiple targets

I have an app, with some additional targets (e.g. Siri, Widgets, push etc). My fastlane deploy step looks like this: lane :build do |options| match( app_identifier: [ ENV['IOS_APP_ID'], ENV['SIRI_BUNDLE_ID'], …
MDalt
  • 1,681
  • 2
  • 24
  • 46
2
votes
1 answer

XCode fails to create archive with 'unable to spawn process /usr/bin/make' error

Having trouble while creating archive of ios project (swift). The project has a build target, which requires /usr/bin/make to be set as build tool, but while trying to create an archive I constantly get error: unable to spawn process '/usr/bin/make'…
potato_fog
  • 318
  • 1
  • 11
2
votes
1 answer

How to change the build configuration in Fastlane - via gym , build _app or xcodebuild

We have four build configuration in the scheme - QA, Pre prod, Staging, Releasing with different BaseUrl, I am just trying to change this build configuration via Fastlane gym command but it fails, bu default it is taking the one which is selected…
2
votes
2 answers

Archive Cordova Project - Path does not exist: www

I am trying to submit a iOS iPhone/iPad Cordova project to the App Store through XCode. I am able to build the app successfully on all simulators and devices. When I try to archive the app, I get an error. Shell Script Invocation Error - Path does…
C. Skjerdal
  • 2,750
  • 3
  • 25
  • 50
1
vote
0 answers

Xcode IOS build failing with random errors but also succeed after 1 or 2 retries

Currently we are in a very strange situation with our Xcode build for an IOS App. Archiving our app with xcodebuild -workspace App.xcworkspace -scheme AppName -sdk iphoneos clean archive -archivePath archive/AppName.xcarchive is working flawless.…
Reinos
  • 141
  • 5
0
votes
0 answers

React Native runOnlyForDeploymentPostprocessing value, not reflected in github actions

I have disabled xcode build phase Bundle React Native code and images, but setting runOnlyForDeploymentPostprocessing = 1: 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { isa = PBXShellScriptBuildPhase; …
0
votes
0 answers

Xcode 14.3: Build and Archive error when copying private framework during build - framework: no such file or directory

Ever since I've upgrade to Xcode 14.3, our project has been failing to archive after build, with following error: Copy…
Code.Decode
  • 3,736
  • 4
  • 25
  • 32
0
votes
0 answers

Flutter Project Not Building in Xcode Cloud

If you all know anything about these errors below your help would be greatly appreciated. If you need any more information about this feel free to comment. I'm pretty lost at this point. I've been archiving my Flutter app with Xcode Cloud and am…
Not_Ryan
  • 11
  • 1
0
votes
1 answer

Running Flutter with XCode, normal build works, archived version builds but doesn't display properly

I am working on an app using Flutter. When I run the program normally on iPhone using either Flutter or XCode, the program functions normally and will display my widgets. However, when I archive the build using XCode and upload it, when I try the…
mjpablo23
  • 681
  • 1
  • 7
  • 23
0
votes
1 answer

How to create Archive build with Specific / Native Only Architecture for Intel based Latest Mac OS

Recently i was working on a project (macOs application) for intel chip based for Latest macOS. My working environment: Xcode: Version 13.4.1 (13F100) Mac OS: Monterey Version: 12.5 (21G72) Chip: Intel The problem i am having is my code runs from…
MD Sazid Hasan Dip
  • 1,425
  • 2
  • 14
  • 29
1
2