我正在尝试安装一个新的 gem:
gem install sassc
Run Code Online (Sandbox Code Playgroud)
但它因 C++ 问题而失败:
current directory: /usr/local/lib/ruby/gems/2.6.0/gems/sassc-2.2.0/ext
/usr/local/opt/ruby/bin/ruby -I /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0 -r ./siteconf20191127-10955-52fjdl.rb extconf.rb
creating Makefile
current directory: /usr/local/lib/ruby/gems/2.6.0/gems/sassc-2.2.0/ext
make "DESTDIR=" clean
current directory: /usr/local/lib/ruby/gems/2.6.0/gems/sassc-2.2.0/ext
make "DESTDIR="
compiling ./libsass/src/units.cpp
In file included from ./libsass/src/units.cpp:3:
In file included from ./libsass/src/units.hpp:4:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:314:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:315:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:316:9: error: no member named 'isfinite' in the global namespace; did you …
Run Code Online (Sandbox Code Playgroud) 我最近在我的应用程序中添加了一个通知扩展,该扩展使用 fastlane 构建得很好。添加通知扩展后,由于某些代码签名问题,构建总是失败。
\n\n构建我的应用程序并将其上传到 TestFlight 的通道是:
\n\n lane :beta do\n increment_build_number(\n build_number: latest_testflight_build_number + 1,\n xcodeproj: "ios.xcodeproj"\n )\n match(app_identifier: ["my.app.bundleid", "my.app.bundleid.extension" type: "appstore") \n gym(scheme: "prod")\n ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t DAV"\n pilot(\n skip_submission: true,\n skip_waiting_for_build_processing: true\n ) \n end\n
Run Code Online (Sandbox Code Playgroud)\n\n我已经为两个捆绑 ID 创建了应用程序 ID 和配置文件,并且为它们启用了推送通知。
\n\n即使我在运行后收到以下错误fastlane beta
:
[19:13:20]: $ /usr/bin/xcrun /Library/Ruby/Gems/2.3.0/gems/fastlane-2.96.1/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist \'/var/folders/vq/j6j2lh1s3cz7cbpw7shc9149fy4t4_/T/gym_config20180601-5305-a3y0ow.plist\' -archivePath /Users/viktor.plezer/Library/Developer/Xcode/Archives/2018-06-01/prod\\ 2018-06-01\\ 19.07.57.xcarchive -exportPath \'/var/folders/vq/j6j2lh1s3cz7cbpw7shc9149fy4t4_/T/gym_output20180601-5305-ghy31c\' \n+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/vq/j6j2lh1s3cz7cbpw7shc9149fy4t4_/T/gym_config20180601-5305-a3y0ow.plist -archivePath \'/Users/viktor.plezer/Library/Developer/Xcode/Archives/2018-06-01/prod 2018-06-01 19.07.57.xcarchive\' -exportPath /var/folders/vq/j6j2lh1s3cz7cbpw7shc9149fy4t4_/T/gym_output20180601-5305-ghy31c\n2018-06-01 19:13:21.181 xcodebuild[7741:1606819] [MT] IDEDistribution: -[IDEDistributionLogging …
Run Code Online (Sandbox Code Playgroud)