Skip to content

fixed project to build xcode5 ios6 #2

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,25 @@ This assumes that you have created a new application in your iOS provisioning po

**1. Clone:** Clone a copy of `apnagent-ios`.

git clone git@github.com:logicalparadox/apnagent-ios.git
git clone git@github.com:codeHatcher/apnagent-ios.git

**2. xCode Configure:** Open the project in xCode and specify the `BUNDLE_ID`. Select Project > Build Settings, then
from the bottom right corner click Add Build Setting > Add User-Defined Setting. The key is `BUNDLE_ID` and the value
will be the application's bundle ID as specified in the iOS Provisioning portal. For example: `com.logicalparadox.apnagent`.
will be the application's bundle ID as specified in the iOS Provisioning portal. For example: `com.codeHatcher.apnagent`.

**3. Build/Run:** Run the application on your device. APNs notification cannot be sent to the simulator. Your APN token
will be logged to the console. Then use the server-side framework of your choice to send notifications to your device.

## Original
This project is originally from git clone git@github.com:logicalparadox/apnagent-ios.git
but has been updated to work with ios6 as the original project hasn't been updated in some
time. I hope this helps some people.

## License

(The MIT License)

Copyright (c) 2012 Jake Luer <jake@alogicalparadox.com>
Copyright (c) 2014 codeHatcher

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 4 additions & 2 deletions apnagent.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,11 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "apnagent/apnagent-Prefix.pch";
INFOPLIST_FILE = "apnagent/apnagent-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Debug;
Expand All @@ -417,10 +418,11 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "apnagent/apnagent-Prefix.pch";
INFOPLIST_FILE = "apnagent/apnagent-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
TARGETED_DEVICE_FAMILY = 1;
WRAPPER_EXTENSION = app;
};
name = Release;
Expand Down