Skip to content

Commit

Permalink
Merge pull request #25 from SmartDeviceLink-Examples/bugfix/issue-24-…
Browse files Browse the repository at this point in the history
…unable-to-build-app-with-xcode-due-to-outdated-pods

Fixed #24: Unable to build app with xcode due to outdated pods
  • Loading branch information
jshivabeharry committed Jun 9, 2023
2 parents 6fb6dd7 + e429067 commit 359cada
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions MobileNav/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
Expand Down
11 changes: 11 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@ target 'MobileNav' do
pod 'SmartDeviceLink/Swift', '~> 7.6'
pod 'Mapbox-iOS-SDK', '~> 5.7'
end

# Set pods min deployment target
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
end
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ SPEC CHECKSUMS:
MapboxMobileEvents: 2bc0ca2eedb627b73cf403258dce2b2fa98074a6
SmartDeviceLink: fc03b11a686231b7f15856ab494e1c3a3082cafb

PODFILE CHECKSUM: de48c70dff4892443595d460ddb4bb37d8c84a7f
PODFILE CHECKSUM: 5f344d156da2e494d3a6d0a1e56a6bd2a02a5da3

COCOAPODS: 1.11.3
COCOAPODS: 1.12.1

0 comments on commit 359cada

Please sign in to comment.