terikon / cordova-plugin-photo-library

Maintainer needed. Please contact if you're using this library in your project
MIT License
149 stars 295 forks source link

Phonegap Build error (iOS, Swift, XCode 9.0 related) #121

Open tufduck opened 6 years ago

tufduck commented 6 years ago

I'm getting this error when I build my app in Adobe Phonegap Build (iOS build):

Check dependencies The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor. The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor. ARCHIVE FAILED The following build commands failed: Check dependencies (1 failure)

Googled about it a fair amount of time, and found that Phonegap has recently been updated to support XCode 9, and XCode 9 doesn't support Swift versions 3.0 or below. Is this plugin using a higher Swift version than 3.0? If that's the case, can the plugin be changed to use 3.0 instead? I really need to get this working and be able to build to iOS in Phonegap. Android build is working fine, by the way.

Thanks

dorianrod commented 6 years ago

Hi, have you found a way to make it work ? I tried to compile on iOS and i have a lot of issues

tufduck commented 6 years ago

Hi

Yes I can build my app now. But not on Phonegap (at least not the last time I tried, it’s been awhile). I build it on a Mac in XCode instead.

// Andreas

Från: dorianrod notifications@github.com Skickat: den 3 maj 2018 17:02 Till: terikon/cordova-plugin-photo-library cordova-plugin-photo-library@noreply.github.com Kopia: tufduck andreas.hellstrom@agrenshuset.se; Author author@noreply.github.com Ämne: Re: [terikon/cordova-plugin-photo-library] Phonegap Build error (iOS, Swift, XCode 9.0 related) (#121)

Hi, have you found a way to make it work ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/terikon/cordova-plugin-photo-library/issues/121#issuecomment-386326476 , or mute the thread https://github.com/notifications/unsubscribe-auth/Ai7TX5rFuAHAQniVVhF5Q9PrIrJooik5ks5tuxvfgaJpZM4SKTjS .