While updating my iOS course, I’ve been trying to get Parse working with Xcode 7 Beta and Swift 2. I’ve got everything up and running (with a couple of warnings - if you can fix those please do so and send me a copy so I can update the version here).
You can download it here:
ParseStarterProject (checked working in Xcode 7 Beta 6)
Just change the XXX in the ApplicationID and clientKey in AppDelegate.swift and you’re good to go!
Enjoy!
Rob
Hear about everything Rob's doing
Join the newsletter to be the first to hear about Rob's courses and training.

Hey Rob,
I have a solution for the push notifications problem:
you have to find this line:
let userNotificationTypes = UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound
and change it to:
let userNotificationTypes = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
Thanks MZ! I tried out your code and managed to get it working by removing both lines
let userNotificationTypes = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
let settings = UIUserNotificationSettings(forTypes: userNotificationTypes, categories: nil
)
and replacing with
let settings = UIUserNotificationSettings(forTypes: [.Alert, .Badge, .Sound], categories: nil)
Unfortunately, it doesn’t seem to be working in Xcode 7 Beta 4 now though! I am getting the following error and nothing gets sent to parse
:
2015-07-23 20:53:32.057 ParseStarterProject[8245:223960] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
2015-07-23 20:53:32.057 ParseStarterProject[8245:223952] [Error]: An SSL error has occurred and a secure connection to the server cannot be made. (Code: 100, Version: 1.7.5)
Object has been saved.
2015-07-23 20:53:32.136 ParseStarterProject[8245:223960] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
2015-07-23 20:53:32.136 ParseStarterProject[8245:223954] [Error]: An SSL error has occurred and a secure connection to the server cannot be made. (Code: 100, Version: 1.7.5)
2015-07-23 20:53:32.136 ParseStarterProject[8245:223956] [Warning]: Attempt at runEventually command timed out. Waiting 600.000000 seconds. 5 retries remaining.
Fixed now!
Solution: Adding an esxception for parse.com as per http://ste.vn/2015/06/10/configuring-app-transport-security-ios-9-osx-10-11/ worked for me
Thanks Luke - now fixed!
hi Rob,
i got your course from udemy from tinder clone section, but this time i’m using xcode 7 beta 5, then got some error in import Parse “no such module ‘Parse'”
i tried to changed framework search path , and re-add link binary then clean the projects. but still no changes..
need help here
Just run the app and the error will go away
Hi Rob:
I really enjoy your teaching, I love the attention to detail and most of all I love how you have saved me from a lot of frustration trying to figure out these tools from scratch. Just listening to you and doing the exercises has helped me a lot.
I’ve been working on a project in Java and JSF and after reviewing your work with Xcode and Parse, I’ve decided to start a side project. One that will use your website service as provided by the course. For the record I have purchased three of your courses so I think (correct me if I am wrong) but according to you I will be able to make use of your https://www.ecowebhosting.co.uk website for at least three years. I do hope that this is the case.
One problem ( I think ) I’ve run into is that in using JavaScript with Parse I need to expose my Parse App Id & Key in the JavaScript source. This is bit of a security risk I think. I haven’t read anywhere (yet) in the Parse documentation how to secure it so that Parse will only receive requests from my website. In one of your tutorials with Google, we had to go thru the time consuming process of setting up a certificate and so forth. I have not seen this in the Parse framework as such. Do you know if it is already there and I just haven’t seen this? Or if it is a feature request that somebody has to mention to the Parse people. I cannot imagine the people at Parse going thru all the trouble to put such a lovely working JavaScript framework together and have left out such a huge, huge, huge security hole.
Again, if you know anything about the JavaScript interface to Parse would you know how they prevent people from stealing the Parse Id/Key out of the JavaScript code. Here is an example of what I am talking about:
http://unifiedobjects.org/filereader/test-filereader-with-parse-progress-bar-and-preview.html?
If you look down thru the source code you’ll eventually see a link to this file:
parseTestFileReaderWithParseAndProgressBar.js
Inside that is the Parse AppId/Key for all the world to see.
Is there any way to either hide this value or to ensure by way of some certificate or perhaps an additional parameter indicating the name of the website permitted to post to the Parse database to prevent the Parse AppId/Key from being stolen?
Thanks,
Perry
I don’t have any experience with that I’m afraid, sorry! Anyone else?…
Hey Rob:
Your ParseStarterProject has a linker error:
/Users/perry/Downloads/ParseStarterProject/Parse.framework/Parse(PFACL.o) does not contain botched. You must rebuild it with botched enabled ( … more )
Linker command failed with exit code 1 ( use -v to see invocation)
I’m using Xcode 7.0.1 (7A1001)
Thanks,
Perry
Parse is now working with XCode 7 without any trouble.
I think that I found the answer. Go to build settings, search for “Enable Bitcode”, and set the value in the second column to “No”. This seems to fix the issue!
Hi there - I was able to get the download from Parse to work fine on Xcode 7.2 / Swift 2
Hi also the application look small in my iPhone, so un app icons and Launch Images i set the Launch Screen File to main.storybiard, this make the job and now i see the app full screen
Thanks Julio!
it looks like parse has released a new version of their starter project and libs as of Jan 8, 2016. They list xcode 7 as being supported now.
Why does the storyboard have two black bars at the top and bottom when I run the app on my device? I’ve tried everything, but nothing seems to get rid of it.
Never mind — I just had to make a LaunchScreen.storyboard file and set that as the launch image.
Rob why don’t you use firebase instead?
Parse Server is self-hosted so you have a lot more control over your data. I think this is the best solution for new app developers for now but will be reviewing it as things change over the coming months.