diff options
| author | Simon Chiang <[email protected]> | 2021-04-23 11:20:30 -0600 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2021-05-26 16:07:47 -0500 |
| commit | 1404fd05a99cf745c33a4316b9d5e1562083c3ae (patch) | |
| tree | 6143731420e5eb3c6b625b352ff3c4a0965b766a | |
| parent | 0f348fa240ff2bb0fa508368411e6d1fc73e167a (diff) | |
| download | dragonruby-game-toolkit-contrib-1404fd05a99cf745c33a4316b9d5e1562083c3ae.tar.gz dragonruby-game-toolkit-contrib-1404fd05a99cf745c33a4316b9d5e1562083c3ae.zip | |
Fix spelling identifier not identifer
| -rw-r--r-- | dragon/ios_wizard.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dragon/ios_wizard.rb b/dragon/ios_wizard.rb index 0d48108..d2c3dc5 100644 --- a/dragon/ios_wizard.rb +++ b/dragon/ios_wizard.rb @@ -265,21 +265,21 @@ class IOSWizard end app_id_with_team_identifier = (provisioning_profile_xml environment)[:children].first[:children].first[:children][13][:children][application_identifier_index + 1][:children].first[:data] - team_identifer = team_identifier_from_provisioning_profile environment - app_id_with_team_identifier.gsub "#{team_identifer}.", "" + team_identifier = team_identifier_from_provisioning_profile environment + app_id_with_team_identifier.gsub "#{team_identifier}.", "" end def team_identifier_from_provisioning_profile environment - team_identifer_index = (provisioning_profile_xml environment)[:children][0][:children][0][:children][13][:children][0][:children][0][:data] + team_identifier_index = (provisioning_profile_xml environment)[:children][0][:children][0][:children][13][:children][0][:children][0][:data] (provisioning_profile_xml environment)[:children][0][:children][0][:children][13][:children].each.with_index do |node, i| if node[:children] && node[:children][0] && node[:children][0][:data] == "com.apple.developer.team-identifier" - team_identifer_index = i + team_identifier_index = i break end end - (provisioning_profile_xml environment)[:children].first[:children].first[:children][13][:children][team_identifer_index + 1][:children].first[:data] + (provisioning_profile_xml environment)[:children].first[:children].first[:children][13][:children][team_identifier_index + 1][:children].first[:data] end def determine_app_id |
