problem about passbook-Collection of common programming errors
Sam
objective-c ios passbook
I know how to make a .pkpass file using tools on my Mac and then zipping them up and signing them (using the signpass tool), but how could I edit the file during runtime in an iOS app?I realize that in the Apple documentation, they want you to use a server for any pass updates / edits, but this is not what I am aiming to do (I realize the security issues there, and that is not the focus of this question). How can I do this (I’m not asking for code)? In the documentation, this is the only mention
user717452
iphone ios xcode passbook
There are lots of websites like passsource.com and api.passdock.com that let you customize and download a pkpass file that can be added to your passbook on iOS 6. All of these have their own Pass Type ID in the JSON as passTypeIdentifier key. My question is this. Why do you have to setup a Pass Type ID if you can build them online and distribute without ever needing one?
Sam
objective-c ios certificate passbook
My Passbook-related app was recently rejected based on guideline 23.3:23.3: Passes must be signed by the entity that will be distributing the pass under its own name, trademark, or brand or the app will be rejected and Passbook credentials may be revokedI had a few questions and got on the phone with someone at Apple. They told me that to remedy my problem I could create a sign-up form in my application. This sign-up form could then be used to create a certificate and pass type ID for the user b
Sam
iphone ios6 passbook
I am building an application related to the Passbook app. Basically I am generating a boarding pass for a flight ticket and adding it to Passbook. That part is working fine. But, I want to open the Passbook app from my app to see the pass details.I have seen that Apple has removed the URL scheme options. How can I achieve this?
amarkon
iphone objective-c ios apple passbook
I’m currently developing an application and right now I’m testing a simple implementation to get a test pass into Passbook on the user’s iPhone. Here’s the method that’s called when the UIButton is pressed:- (IBAction)addTicketToPassbook { NSArray *passFiles = [[NSFileManager defaultManager]contentsOfDirectoryAtPath:@”/Users/Adam/Developer/Eagan High School/Eagan High School/” error:nil]; NSString *passName = @””;NSError* error = nil;for (NSString *pass in passFiles) {if([pass hasSuffix:@”.pkpas
taurus
ios passbook passkit
I’ve setup a server which returns a PKPass. If I copy the URL to the browser, a pass is shown (both in my Mac and in my iPhone). The code I’m using to download the pass is the following one:NSData *data = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:kAPIPass]]; if (nil != data) {PKPass *pass = [[PKPass alloc] initWithData:data error:nil];PKAddPassesViewController *pkvc = [[PKAddPassesViewController alloc] initWithPass:pass];pkvc.delegate = self;[self presentViewController:pkvcanima
smallgirl
web-services ios6 apple-push-notifications passbook
I am doing server for updating a pass. Now I want to send notification to APNS, but it doesn’t work. This is errors from php_error.log: [10-Apr-2013 08:59:24 Europe/Berlin] PHP Warning: stream_socket_client(): Unable to set private key file `/Applications/MAMP/htdocs/passesWebserver/certificatePass.pem’ in /Applications/MAMP/htdocs/passesWebserver/pushNotification.php on line 32 [10-Apr-2013 08:59:24 Europe/Berlin] PHP Warning: stream_socket_client(): failed to create an SSL handle in /Appli
Web site is in building