mapbox / mapbox-vision-ios

62 stars 26 forks source link

xcode target deployment bug with vision sdk #276

Closed nole87 closed 4 years ago

nole87 commented 4 years ago

Description

I set deployment target to 11.2, also in pod file 11.2 but when trying to compile I get error: Compiling for iOS 9.0, but module 'MapboxVision' has a minimum deployment target of iOS 11.2: /Users/kacerac/Library/Developer/Xcode/DerivedData/Patroler-fslhnlcuwhtgggarlengwvecqrua/Build/Products/Debug-iphoneos/MapboxVision/MapboxVision.framework/Modules/MapboxVision.swiftmodule/arm64-apple-ios.swiftmodule

Goal

Add Vision features to my app

Steps

1 2

chezzdev commented 4 years ago

Hey, @nole87. This is probably not Vision-related, but my guess is that you have different deployment targets for project and target levels. Check if your target has a deployment target of iOS 11.2 or later.

nole87 commented 4 years ago

iOS development target was 9.0 under project target