2

I have upgraded OS X from 10.9 to 10.10 in order to be able to use Xcode 6.3 - current Version is 6.3 (6D570).

When I created my project with Xcode 6.2 I successfully imported SQLite.swift as described in the documentation and everything was working.

After I upgraded to Xcode 6.3 the project cannot be build - I always get the error:

Module file's minimum deployment target is ios8.3 v8.3: /Users/d...

I have tried to set different deployment targets as described in this answer but nothing helps :(

Can somebody help? Thanks in advance

Community
  • 1
  • 1
maddob
  • 989
  • 1
  • 12
  • 29
  • 1
    Is your app deployment target 8.3? Have you run **Clean Build Folder…** (hold alt/option when running **Clean**)? – stephencelis Apr 20 '15 at 14:44
  • I tried all the deployment targets from 7.0 to 8.3. Now also tried to hold the alt when running clean - same error – maddob Apr 20 '15 at 14:50
  • What if you delete you entire **DerivedData** folder? `rm -r ~/Library/Developer/Xcode/DerivedData/` – stephencelis Apr 20 '15 at 14:56
  • 1
    Thanks for your quick comments - I finally fixed it - the problem was that the deployment target of the imported project was 8.3. After I changed it to 8.0 it worked - that does not however explain the error in case the main project's target is also 8.3 – maddob Apr 20 '15 at 15:00

1 Answers1

5

I finally fixed the problem by changing the Deployment Target of the referenced SQLite project to 8.0. If you see iOS Deployment Target 8.3 lower the version and the error shall disappear.

Also clean the project by holding the alt/option key as pointed out by @stephencelis in the comments

maddob
  • 989
  • 1
  • 12
  • 29
  • After the change of deployment target, holding alt/option when cleaning the project was very useful for me (without this it didn't work), thank you. – candidev Oct 11 '18 at 11:11