Comments (15)
A missing BuildActionEntries
could sometimes also be solved by removing and re-adding your targets in your scheme:
This fixed it for me :)
from steps-xcode-archive.
Hi!
Sorry for the delayed answer.
I have answered you via intercom too with more detailed answer (some example from your project).
I share here the general informations too without your project infos:
I think we found some Apple magic in your project :D
The "Xcode Archive & Export for iOS" step will search for the BuildActionEntries
array in the .xcodeproj file after the archive process.
And here comes the magic.
An .xcodeproj
scheme should look like this just like in your other scheme.
But in your scheme-dev
it looks like this (there is no BuildActionEntries
array):
And this is why the step is failing.
We have figured out this is happening because in the scheme-dev
scheme you have enabled only the archive option.
If you enable the other options too then it will use the BuildActionEntries
array.
The funny part:
If you disable the other options too then it will still use the BuildActionEntries
array. :D
So what can you do?
Enable please the other build options for the scheme-dev
.
Push the changes and try a new build.
If it's working try to disable the options in the scheme-dev
scheme again.
Push the changes and try a new build.
from steps-xcode-archive.
Everything worked fine with xcode9, ios11 and swift4
Now I updated stack and ios12 + swift 4.2 and its failing
However I can archive this using xcode.
Another difference is embedded watch kit app
from steps-xcode-archive.
Hi @radvansky-tomas ,
Sorry to hear about the issue, can you please send us a build URL to be able to see the whole log?
from steps-xcode-archive.
For example this one:
https://app.bitrise.io/build/bfa9bf42e44cd56a
But its failing even locally with bitrise cli, with same error
from steps-xcode-archive.
Hi @radvansky-tomas ,
Sorry for the long delay on this topic. Most probably I would think that the IQKeyboardManager pod doesn't support Xcode 10 yet. According to this issue report: hackiftekhar/IQKeyboardManager#1436 that is sent to the original repo that the pod you are using is forked from Xcode 10 isn't supported currently.
I'm still looking at some threads to see if I can find a workaround that you could use. Will update you if I find something!
from steps-xcode-archive.
Thank you for reply @tamasbazs , but i don't think that this is an issue. First of all, app is building fine on my local machine, xcode 10 and main project is converted to swift4.2, however my pods runs still on older swift:
#Add the following in order to automatically set debug flags for armchair in debug builds post_install do |installer| installer.pods_project.targets.each do |target| if target.name != 'SwipeCellKit' target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '4.0' end end if target.name == 'Armchair' target.build_configurations.each do |config| if config.name == 'Debug' config.build_settings['OTHER_SWIFT_FLAGS'] = '-DDebug' else config.build_settings['OTHER_SWIFT_FLAGS'] = '' end end end end end
Therefore that plugin is build with still supported source...plus if this was an issue, I would have complication error, but i have "no archive issues"
`
▸ Compiling MediumCell.xib
▸ Compiling LineItemCell.xib
▸ Compiling DateTableHeader.xib
▸ Compiling ActivityCell.xib
▸ Processing timerush-dev.plist
▸ Generating 'timerush-dev.app.dSYM'
▸ Running script '[CP] Embed Pods Frameworks'
▸ Running script '[CP] Copy Pods Resources'
▸ Running script 'Run Script'
▸ Touching timerush-dev.app (in target: timerush-dev)
▸ Archive Succeeded
Archive infos:
team: Micro Manager Apps Ltd (5KR985NTQ5)
profile: iOS Team Provisioning Profile: app.bullrush.timerush (ca913e22-440d-4c5c-95a3-b355d54d6681)
export: development
xcode managed profile: true
Exporting ipa from the archive...
Exporting ipa with ExportOptions.plist
No custom export options content provided, generating export options...
export-method specified: ad-hoc
archivable entry not found
`
from steps-xcode-archive.
Still same error: https://app.bitrise.io/build/6f8ccf999d732cef
from steps-xcode-archive.
Hi!
Sorry for the delayed answer.
- Could you please enable the support user by:
- Open your app on Bitrise
- Select the Settings tab.
- And could you please send me the
.xcodeproj
and the.xcworkspace
files via the on-site chat? ( The little icon on the bottom right on Bitrise.io )
The step is failing here:
https://github.com/bitrise-io/steps-xcode-archive/blob/d38d5c9c12cf80d7ea58c7ab968312db973d40dc/utils/entitlements.go#L56
In this phase, the step is searching for the buildForArchiving
attr. in the .xcodeproj. And for some reason it couldn't find it.
from steps-xcode-archive.
Done ;) @BirmacherAkos
from steps-xcode-archive.
YES thank you, this helped
from steps-xcode-archive.
I'm also getting this error.
Looking in my xscheme, the build action entries are there and all are enabled
from steps-xcode-archive.
Here's a copy of my scheme, looking through the source code for the step, I can't see why it would fail.
from steps-xcode-archive.
Hi @radvansky-tomas and @valentary! 👋
Please accept my sincere apologies for the huge delay!
The issue here you facing is due to the Step is unable to find a valid, archivable build action entry belonging to an app target in your scheme.
The following has to be satisfied to consider a build action entry as valid and archivable:
- The
Archive
action is enabled. (corresponding code) - The entry is referencing an app target. (corresponding code)
In @radvansky-tomas’ case, the whole BuildActionEntries array was missing due to a malformed scheme, probably faulty generated by Xcode. The Step correctly emits an error in this situation, since the parsing could not be completed.
On the other hand, in @valentary’s case the root cause is not a malformed scheme, but the lack of an app target in the referenced scheme. The ArchiveBug.xcscheme
you attached, only contains the ArchiveBug
build action, which is not an app target (not the missing .app
postfix in the BuildableName
attribute). Would you please confirm that the ArchiveBug
is indeed an app target?
from steps-xcode-archive.
Hi,
I will be closing the issue due to inactivity. Please feel free to open a new one incase you still have any concerns. Thanks
from steps-xcode-archive.
Related Issues (20)
- failed to manage code signing.... failed to unmarshal response: parsing time HOT 2
- XcodeArchiver is not fixing the AppGroup list entitlements HOT 2
- could not find provisioning file HOT 4
- got sign in problem when using xcode 14 HOT 23
- Can't find the '/usr/local/opt/node/bin/node' binary to build the React Native bundle HOT 1
- Please update to Xcode 7.3 or later HOT 3
- Getting Failed to package /Users/vagrant/git on Flutter build HOT 3
- `failed to create private key file` HOT 1
- Archive failed, error: exit status 65 HOT 30
- Xcodebuild configuration flag not retained when using additional build options HOT 8
- Failed to process Step inputs: issue with input ExportOptionsPlistContent: plist: type mismatch: tried to decode plist type `string' into value of type `map[string]interface {}' (exit code: 1) HOT 3
- xcodebuild options for showBuildSettings HOT 4
- Xcode Archive & Export for iOS failed with exit status 65 for xCode 13.4 or later HOT 3
- Xcode Archive & Export for iOS failed with bundle install failed for Xcode 14.x on M1 HOT 7
- Xcode Archive & Export for iOS failed with bundle install failed for Xcode 14.2 on M1 HOT 13
- Error log leaks password
- Xcode iOS Archive & Export step getting failed when triggering the build from cURL HOT 1
- ld: symbol(s) not found for architecture arm64 HOT 2
- visionOS seems to be unsupported HOT 2
- Can't choose team for downloading certificates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steps-xcode-archive.