Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[ios] fixes #4536 include podspec in iOS releases - #5569

Merged
frederoni merged 1 commit into
release-ios-v3.3.0from
4536-include-podspec-in-releases
Jul 6, 2016
Merged

frederoni merged 1 commit into
release-ios-v3.3.0from
4536-include-podspec-in-releases

Conversation

@frederoni

@frederoni frederoni commented Jul 5, 2016 •

Copy link
Copy Markdown
Contributor

Dynamic and static framework w/ and w/o symbols seems to be working except for one case;

  • platform :ios, '7.0' in Podfile
  • Deployment target set to 7.0 in Xcode (not using use_frameworks!)

Yields:

[!] Unable to satisfy the following requirements:

- `Mapbox-iOS-SDK (from `../mapbox-gl-native/build/ios/pkg/static/Mapbox-iOS-SDK-symbols.podspec`)` required by `Podfile`

It seems like you've changed the constraints of dependency `Mapbox-iOS-SDK` inside your development pod `Mapbox-iOS-SDK`.
You should run `pod update Mapbox-iOS-SDK` to apply changes you've made.
  • pod update Mapbox-iOS-SDK yields the same error message.

Podfile

platform :ios, '7.0'
target 'podtest' do
pod 'Mapbox-iOS-SDK', :path => "../mapbox-gl-native/build/ios/pkg/static/Mapbox-iOS-SDK-symbols.podspec"
end

👀 @boundsj

@frederoni frederoni added iOS Mapbox Maps SDK for iOS ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold labels Jul 5, 2016
@frederoni frederoni added this to the ios-v3.3.0 milestone Jul 5, 2016
@frederoni
frederoni force-pushed the 4536-include-podspec-in-releases branch from a8a5365 to 061e252 Compare July 5, 2016 08:55
@frederoni
frederoni force-pushed the 4536-include-podspec-in-releases branch from 061e252 to 454566d Compare July 5, 2016 08:58
@frederoni frederoni added build and removed ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold labels Jul 5, 2016
@1ec5

1ec5 commented Jul 6, 2016

Copy link
Copy Markdown
Contributor

The minimum deployment target should be iOS 8. iOS 7 doesn’t officially support dynamic frameworks.

@frederoni
frederoni merged commit 9993017 into release-ios-v3.3.0 Jul 6, 2016
@frederoni
frederoni deleted the 4536-include-podspec-in-releases branch July 6, 2016 09:09
@1ec5

1ec5 commented Jul 6, 2016

Copy link
Copy Markdown
Contributor

The dynamic podspecs still specify iOS 7.0 as the minimum deployment target? It should be 8.0.

Also, the static podspecs don't refer to the resource bundle at all, so I think there'd be a crash on launch unless the resources are getting pulled in some other way.

@1ec5

1ec5 commented Jul 6, 2016

Copy link
Copy Markdown
Contributor

#5595 backs out the podspecs for the static framework. We’ll revisit that in v3.3.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

build iOS Mapbox Maps SDK for iOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants