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
Compile errors #14
Comments
Hi, I'll need to see the errors you're getting in order to help you. Could you post them here? |
Which version of Xcode are you using? |
XCode Version 6.0 (6A215l) |
Ah ok, try updating to Beta 3. That should fix it, if not, I'll look into it some more |
Hi Matt, I upgraded to xcode 6.0 Beta 3, and your project is now building fine. But unfortunately when I include it in my project, cocoapods has stopped working and is not building. There seems to be an issue with the beta 3 version. Does Swifter work with beta 2? if yes then I will install beta 2. Thanks. |
Sorry, Swifter only works with Beta 3. As far as I know though, Cocoapods doesn't work with any of the Xcode 6 betas, so I think you'll have to just add the code to your project manually |
I had cocoapods working with beta 1 and was using AFnetworking and the facebook sdk without problems. Now I am stuck with beta 3 and cannot even find the download link for beta 2, as I deleted my older xcode versions. |
Strange. Well, if you want to keep using Beta 1 / 2 you could try using 1.2.1, which was the last version before updating the collection type syntax for Beta 3: https://github.com/mattdonnelly/Swifter/releases/tag/1.2.1 |
Thanks I'll check it out, once I get my project back up working. |
I finally got Swifter 1.2.1 compiling with my project using xcode beta 2. But have not managed to get the twitter login work. The following are the issues: 1> the useAccount bit does not work. When I try to debug, my xcode keeps crashing consistently. So I set it to false to test the swifter part. 2> Here it takes me to the api.twitter.com to authorize and after successful authorization then it throws an error with the following message: "Cannot open page - Safari cannot open page because the address is invalid." Then it says redirecting you back, but does not, and when I click the redirect link, it gives the same error mentioned above. What is the callback url supposed to be in case of a mobile app? Also if I use appOnly = true, I get the second error screen. |
What do you mean the useACAccount bool doesn't work? Also, it looks like you haven't added a custom URL scheme to your app, which is why Safari is giving you that error. You can read about how to do it here: https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedAppTricks/AdvancedAppTricks.html#//apple_ref/doc/uid/TP40007072-CH7-SW50 |
Closing this for now, but let me know if you have any more problems |
Here's the current link to add a custom app scheme to an iOS app in an app in Xcode For the iOS target, go to "Info" tab and then "URL Types" section. |
I followed your tutorial and added swifter xcode project to my project, but I am getting 151 compilation errors saying - swift compilation error in the SwifteriOS xcode project.
I also tried to build swifteriOS project as it is and get the same compile errors.
The text was updated successfully, but these errors were encountered: