Skip to content
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

Has anyone ever used this with Swift? #13

Open
michaelbina opened this issue May 14, 2016 · 2 comments
Open

Has anyone ever used this with Swift? #13

michaelbina opened this issue May 14, 2016 · 2 comments

Comments

@michaelbina
Copy link

I'm getting this error:

ld: library not found for -lObjC

screen shot 2016-05-13 at 11 53 25 pm

@Ingibjorg
Copy link

It works fine for me when I install it with Cocoapods in my Swift project. You just have to add a Swift bridging header.

@chug2k
Copy link

chug2k commented Aug 12, 2016

just in case you need steps for that, the easy way:

  • create a new "objective c" file.
  • say "yes" create a new bridging header
  • delete the file you just created

In the bridging header, write

#import <SimulatorRemoteNotifications/UIApplication+SimulatorRemoteNotifications.h>

biow0lf added a commit to MLSDev/SimulatorRemoteNotifications that referenced this issue Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants