Comments (6)
Why do you need to run sh
for the last posted code snippet?
If it's just because you want a different app identifier, use:
ENV["SIGH_APP_IDENTIFIER"] = "com.demo.app.TodayExtension"
sigh
ENV["SIGH_APP_IDENTIFIER"] = "your real identifier"
Does that help?
from fastlane.
Hi @pronebird You are going to need to run sigh twice, once for each target.
from fastlane.
Correction to the above: It does not work after getting the provisioning profile manually.
I am getting an error with the validate step of the build process:
The following build commands failed:
INFO [2015-02-23 23:33:32.26]: [SHELL OUTPUT]: ValidateEmbeddedBinary /Users/daniel/Library/Developer/Xcode/DerivedData/Demo-hjdhmoxqwxxmxtguevgikvldevvj/Build/Products/Release-iphoneos/Demo.app/PlugIns/DemoTodayExtension.appex
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/actions/actions_helper.rb:49:in `sh'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/actions/ipa.rb:73:in `run'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/fast_file.rb:80:in `block (2 levels) in method_missing'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/actions/actions_helper.rb:28:in `execute_action'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/fast_file.rb:79:in `block in method_missing'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/fast_file.rb:78:in `chdir'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/fast_file.rb:78:in `method_missing'
from (eval):38:in `block (2 levels) in parse'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/runner.rb:16:in `call'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/runner.rb:16:in `block in execute'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/runner.rb:10:in `chdir'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/runner.rb:10:in `execute'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/lane_manager.rb:15:in `block in cruise_lanes'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/lane_manager.rb:14:in `each'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/lib/fastlane/lane_manager.rb:14:in `cruise_lanes'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/bin/fastlane:30:in `block (2 levels) in run'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/command.rb:154:in `run'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/runner.rb:421:in `run_active_command'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/runner.rb:81:in `run!'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/delegates.rb:15:in `run!'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/bin/fastlane:58:in `run'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/gems/fastlane-0.1.12/bin/fastlane:62:in `<top (required)>'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/bin/fastlane:23:in `load'
from /Users/daniel/Documents/Work/DemoApp/vendor/bundle/ruby/2.2.0/bin/fastlane:23:in `<main>'
from fastlane.
Ok weird. something was resetting the CodeSign Identity of the extension and now it has stopped and builds.
Also got the provision profile for the extension installed by:
sh "bundle exec sigh -a com.demo.app.TodayExtension -u [email protected]"
Still a way without sh to sigh would be cool! Great job on the tools!
from fastlane.
Ah did not realize I could do it like that. Thanks!
On Feb 24, 2015, at 2:17 AM, Felix Krause [email protected] wrote:
Why do you need to run sh for the last posted code snippet?
If it's just because you want a different app identifier, use:
ENV["SIGH_APP_IDENTIFIER"] = "com.demo.app.TodayExtension"
sigh
ENV["SIGH_APP_IDENTIFIER"] = "your real identifier"
Does that help?—
Reply to this email directly or view it on GitHub.
from fastlane.
So how do you code sign both app and extension at the same time?
from fastlane.
Related Issues (20)
- exportArchive app requires a provisioning profile with the Access Wi-Fi Information, Hotspot, and Push Notifications features. HOT 1
- Match development with Appstore Connect API KEY fails due unexpected token error if there are more 18 bundle ids in matchfile
- number_of_commits run on GitHub action always returns 1 HOT 2
- Failing run via Bundler: `ensure in take_off': uninitialized constant FastlaneCore::UpdateChecker (NameError) HOT 5
- [Regression] uninitialized constant Fastlane::OpenStruct (NameError) with release 2.220.0 HOT 9
- [match] undefined local variable or method `profile` when running match with `output_path` HOT 5
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 1
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 3
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
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 fastlane.