-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Hello,
I um using Fastline with some Fastlane action, mainly Gym and Notarize to build and notarize some macOS applications.
Currently, I have 2 computer: both with same XCode versions, both with same macOS Ventura versions.
The installation of fastlane was made equally across the machines.
I have all the required env variables to perform notarization in place.
On one computer, it works like a charm.
On the other, notarization seems to finish with no errors (the notarization in its core) but then I got a Unimplemented element error.
platform :mac do
desc "etc"
lane :staging do
# add actions here: https://docs.fastlane.tools/actions
update_code_signing_settings(
use_automatic_signing: false,
path: "../UI/appliation.xcodeproj",
team_id: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
bundle_identifier: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
code_sign_identity: "Developer ID Application: X",
sdk: "macosx*",
)
build_mac_app(
project:"../_egav/app1.xcodeproj",
scheme:"Scheme1",
configuration:"Release",
output_directory:"Output/something"
)
build_mac_app(
project:"../_egav/app2.xcodeproj",
scheme:"Scheme22",
configuration:"Release",
output_directory:"Output/something2"
)
build_mac_app(
project:"../_egav/app3.xcodeproj",
scheme:"scheme3",
configuration:"Release",
output_directory:"Output/something"3
)
#disable_automatic_code_signing(path: "../UI/application.xcodeproj")
build_mac_app(
project:"../UI/application.xcodeproj",
scheme:"SomeScheme",
configuration:"Release",
output_directory:"Output/application",
clean:true,
# xcargs: "-allowProvisioningUpdates", #Enable Xcode automatic Code signing
export_xcargs: 'OTHER_CODE_SIGN_FLAGS="--timestamp --options runtime"',
export_method: "mac-application"
)
# Notarize the application
notarize(
package:"Output/application/application.app",
use_notarytool:false, #this requires app specific password
try_early_stapling: true,
print_log:true,
verbose:true,
asc_provider: "SomeInc",
username: "someuser@email.com",
bundle_id: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
)
end
lane :main do
# add actions here: https://docs.fastlane.tools/actions
end
end
Here is part of the log
[11:13:56]: ▸ 2023-02-27 11:13:56.251 PROGRESS: Upload complete.
[11:13:56]: ▸ 2023-02-27 11:13:56.253 Waiting for 0 operations to complete
[11:13:56]: ▸ 2023-02-27 11:13:56.253 ITunesSoftwareServiceFileLogging cleaning up
[11:13:56]: ▸ <?xml version="1.0" encoding="UTF-8"?>
[11:13:56]: ▸ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
[11:13:56]: ▸ <plist version="1.0">
[11:13:56]: ▸ <dict>
[11:13:56]: ▸ <key>notarization-upload</key>
[11:13:56]: ▸ <dict>
[11:13:56]: ▸ <key>RequestUUID</key>
[11:13:56]: ▸ <string>998dcc63-1e04-44b9-a744-1d3e2ad0ed4b</string>
[11:13:56]: ▸ </dict>
[11:13:56]: ▸ <key>os-version</key>
[11:13:56]: ▸ <string>13.1.0</string>
[11:13:56]: ▸ <key>success-message</key>
[11:13:56]: ▸ <string>No errors uploading 'Output/application/application.app.zip'.</string>
[11:13:56]: ▸ <key>tool-path</key>
[11:13:56]: ▸ <string>/Applications/Xcode-14.2.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework</string>
[11:13:56]: ▸ <key>tool-version</key>
[11:13:56]: ▸ <string>6.043.14043</string>
[11:13:56]: ▸ <key>warnings</key>
[11:13:56]: ▸ <array>
[11:13:56]: ▸ <dict>
[11:13:56]: ▸ <key>code</key>
[11:13:56]: ▸ <integer>-1030</integer>
[11:13:56]: ▸ <key>message</key>
[11:13:56]: ▸ <string>altool has been deprecated for notarization and starting in late 2023 will no longer be supported by the Apple notary service. You should start using notarytool to notarize your software.</string>
[11:13:56]: ▸ <key>userInfo</key>
[11:13:56]: ▸ <dict>
[11:13:56]: ▸ <key>NSLocalizedDescription</key>
[11:13:56]: ▸ <string>altool has been deprecated for notarization and starting in late 2023 will no longer be supported by the Apple notary service. You should start using notarytool to notarize your software.</string>
[11:13:56]: ▸ </dict>
[11:13:56]: ▸ </dict>
[11:13:56]: ▸ </array>
[11:13:56]: ▸ </dict>
[11:13:56]: ▸ </plist>
+--------------------+--------------------------------------+
| Lane Context |
+--------------------+--------------------------------------+
| DEFAULT_PLATFORM | mac |
| PLATFORM_NAME | mac |
| LANE_NAME | mac staging |
| XCODEBUILD_ARCHIVE | /Users/user/Library/Developer/Xco |
| | de/Archives/2023-02-27/application |
| | 2023-02-27 |
| | 11.13.17.xcarchive |
+--------------------+--------------------------------------+
[11:13:56]: Unimplemented element. Consider reporting via https://github.com/patsplat/plist/issues
+------+------------------------+-------------+
| fastlane summary |
+------+------------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | xcode_select | 0 |
| 3 | update_code_signing_s | 0 |
| | ettings | |
| 4 | build_mac_app | 6 |
| 5 | build_mac_app | 74 |
| 6 | build_mac_app | 107 |
| 7 | build_mac_app | 15 |
| 💥 | notarize | 29 |
+------+------------------------+-------------+
[11:13:56]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run `fastlane env` to append the fastlane environment to your issue
Please update using `gem install fastlane`
/Users/user/.gem/ruby/3.1.3/gems/plist-3.7.0/lib/plist/parser.rb:128:in `parse': \e[31m[!] Unimplemented element. Consider reporting via https://github.com/patsplat/plist/issues\e[0m (Plist::UnimplementedElementError)
from /Users/user/.gem/ruby/3.1.3/gems/plist-3.7.0/lib/plist/parser.rb:38:in `parse_xml'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/notarize.rb:127:in `block in altool'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/notarize.rb:240:in `with_notarize_authenticator'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/notarize.rb:117:in `altool'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/notarize.rb:44:in `run'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:78:in `block (2 levels) in parsing_binding'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane.rb:33:in `call'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
from /Users/user/.gem/ruby/3.1.3/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /Users/user/.gem/ruby/3.1.3/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /Users/user/.gem/ruby/3.1.3/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /Users/user/.gem/ruby/3.1.3/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
from /Users/user/.gem/ruby/3.1.3/gems/fastlane-2.212.0/bin/fastlane:23:in `<top (required)>'
from /Users/user/.gem/ruby/3.1.3/bin/fastlane:25:in `load'
from /Users/user/.gem/ruby/3.1.3/bin/fastlane:25:in `<main>'
I am out of ideas.
Thanks a lot for your help
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels