New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IASK won't build/run on iOS 7... includes iOS 8-only symbols (e.g., _UIApplicationOpenSettingsURLString) #287
Comments
Please check if the last version fixes it for you. Put
in your Podfile to select the git version until the cocoapods repo has been refreshed. |
We added the podfile change, did a pod update (it updated to version 2.4.3), and trying running to an iOS 7.x Simulator Device... got the same runtime crash at startup: dyld: Symbol not found: _UIApplicationOpenSettingsURLString This symbol isn't available until iOS 8. BTW - the podfile thing you suggested didn't work (because of the ssh), so we actually used this in the Podfile instead: pod 'InAppSettingsKit', :git => 'https://github.com/futuretap/InAppSettingsKit.git' |
Getting the same behavior here, using version 2.5.2. |
This is still an issue… This issue WAS fixed in a development branch, but never made it into the production builds, AFAIK. Please fix, we’re getting close to release. Thanks!! |
I was able to make it work by commenting the line that uses the
My guess is that having this piece of code, even though the |
Do you build against iOS 7? Normally you should build against the latest iOS version and just set the deployment target to the minimum iOS version you want to support. |
You could conditionally skip the method on iOS < 8:
Let me know if that works better for you. Then we can add this to the master branch. |
I build exactly like you said: deployment target is set to 7.0 and base SDK is set to the latest iOS version (8.3). I tested with your code and I got the same result:
|
Can you supply a sample project exhibiting the issue? I can't reproduce the problem. |
@futuretap I tried creating a plain new project but the error didn't show up. After some time, I figured out that the problem is not related to the InAppSettingsKit, but my
After some time trying to see the difference between the projects I found out that the other
And that's the problem, just changing it to 7.0 solved it. Thanks for the support. |
Thanks for the info, totally makes sense. |
Thanks a bunch!!! That completely fixed it now. On Apr 29, 2015, at 5:06 PM, Ortwin Gentz, FutureTap <notifications@github.commailto:notifications@github.com> wrote: Thanks for the info, totally makes sense. — |
I updated our pod spec recently to "Installing InAppSettingsKit 2.4.1 (was 2.3.4)"... but it won't link (or has a runtime Symbol Not Found – because it references iOS 8-only privacy constants:
dyld: Symbol not found: _UIApplicationOpenSettingsURLString
Expected in: /Applications/Xcode 6.1.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks/UIKit.framework/UIKit
in /Users/devuser/Library/Developer/CoreSimulator/Devices/65A9414B-26B2-4889-BAA2-676F5E807231/data/Applications/FDEA090D-2200-4356-AE63-FF79517DDF48/MyProject.app/MyProject
The text was updated successfully, but these errors were encountered: