hjanuschka / fastlane-plugin-update_project_codesigning Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
๐
Hi,
I know that this might be a local environment problem and I am no ruby expert (sorry)- but here it goes anyways. I am using the latest fastlane(2.17.1).
I am using rvm to supply me the different ruby versions. Currently I am using 2.2.2:
$ rvm list
rvm rubies
When adding the plugin, it fails:
$ fastlane add_plugin update_project_codesigning
+--------------------------------------------+---------+----------------------------+
| Used plugins |
+--------------------------------------------+---------+----------------------------+
| Plugin | Version | Action |
+--------------------------------------------+---------+----------------------------+
| fastlane-plugin-cordova | 0.1.4 | cordova |
| fastlane-plugin-update_project_codesigning | 0.1.9 | update_project_codesigning |
+--------------------------------------------+---------+----------------------------+
[12:08:08]: Make sure to commit your Gemfile, Gemfile.lock and Pluginfile to version control
Installing plugin dependencies...
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/slarsen/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/json-1.8.6/ext/json/ext/generator
/Users/slarsen/.fastlane/bin/bundle/bin/ruby -r ./siteconf20170221-16601-1uibdlp.rb extconf.rb
creating Makefile
current directory: /Users/slarsen/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/json-1.8.6/ext/json/ext/generator
make "DESTDIR=" clean
current directory: /Users/slarsen/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/json-1.8.6/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
In file included from generator.c:1:
In file included from ./../fbuffer/fbuffer.h:5:
In file included from /Users/slarsen/.fastlane/bin/bundle/include/ruby-2.2.0/ruby.h:33:
In file included from /Users/slarsen/.fastlane/bin/bundle/include/ruby-2.2.0/ruby/ruby.h:29:
/Users/slarsen/.fastlane/bin/bundle/include/ruby-2.2.0/ruby/defines.h:26:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1 error generated.
make: *** [generator.o] Error 1
make failed, exit code 2
Any ideas?
I have a project with many targets and one code base . When I update one target with code sign, all the targets stays with the same code sign . Is there a way to manage this , something like :
update_project_codesigning(
path: "demo-project/demo/demo.xcodeproj",
target:"MyTarget"
use_automatic_signing: true)
?
lane :codesign do
update_project_codesigning(use_automatic_signing: false, path: "../platforms/ios/Hydrogen.xcodeproj")
Error setting value '../platforms/ios/Hydrogen.xcodeproj' for option 'path'
ERROR [2016-10-13 19:46:27.52]: You passed invalid parameters to 'update_project_codesigning'.
ERROR [2016-10-13 19:46:27.52]: Check out the error below and available options by running fastlane action update_project_codesigning
WARN [2016-10-13 19:46:27.52]: Variable Dump:
INFO [2016-10-13 19:46:27.52]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios codesign"}
ERROR [2016-10-13 19:46:27.52]: Path is invalid
ERROR [2016-10-13 19:46:27.53]: fastlane finished with errors
Blind guess, this is maybe a ruby limitation per http://stackoverflow.com/questions/16833643/load-file-from-parent-directory
If the xcode project hasn't been changed, the ProvisionStyle
value may not be set at all, so the replacement will just silently fail.
Hi,
The Gym didn't work. The log says "Code signing is required for product type 'Application' in SDK 'iOS 10.0'". I read that page ( fastlane/fastlane#6533 ). I added this plugin for Fastlane but I got an error message when I wanted to use it. What can i do about this ? Thanks.
The error message:
X Could not find action, lane or variable update_project_codesigning
And..
$ fastlane -v
fastlane installation at path:
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.20.0/bin/fastlane
-----------------------------
fastlane 2.20.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.