Wednesday, April 1, 2015

Xcode Archive Validation : Potential Loss of Keychain Access

Potential Loss of Keychain Access. The previous version of software has an application-identifier value of 'XXXX.com.company' and the new version of software being submitted has an application-identifier of 'YYYYY.com.company'. This will result in a loss of keychain access.

Note: This is a warning, not an error. You have the option of proceeding with the submission regardless of this warning, however this document should be used to determine whether you can safely ignore it. This warning indicates that the App ID prefix of the pending submission differs from the App ID prefix of the live app in the app store.

Important: The only apps that can safely ignore this warning are those that do not use technologies that rely on the App ID prefix, like keychain access, Handoff, and UIPasteboard sharing.

Reference https://developer.apple.com/library/ios/qa/qa1726/_index.html

Monday, March 30, 2015

Error Domain=GKErrorDomain Code=15 Application is not recognized by Game Center

Error Domain=GKErrorDomain Code=15 "The requested operation could not be completed because this application is not recognized by Game Center." UserInfo=0x155cbe70.



On the Device. Goto Settings ->  Game Center -> Developer-> Enable Sandbox


Tuesday, February 17, 2015

SuperSU Installation Failed! Please reboot and try again.

Go to Developer Options, then Root access, then select Apps and ADB option.

Update SuperSU







Thursday, February 12, 2015

Configure your LAMP on Amazon Elastic Compute Cloud (EC2) Red Hat instance

Connect to your instance via ssh

ssh -i aws-xxx.pem ec2-user@x.x.x.x 

Update Red Hat 

[ec2-user ~]$ sudo yum update -y 

Install the Apache web server, MySQL, and PHP

[ec2-user ~]$ sudo yum groupinstall -y "Web Server" "MySQL Database" "PHP Support" 

Install the php-mysql package.

 [ec2-user ~]$ sudo yum install -y php-mysql 

Start the Apache web server.

[ec2-user ~]$ sudo service httpd start 
Starting httpd: [ OK ] 

Configure the Apache web server to start at each system boot.

[ec2-user ~]$ sudo chkconfig httpd on 

To set file permissions Add the www group to your instance.

[ec2-user ~]$ sudo groupadd www 

Add your user (in this case, ec2-user) to the www group.

[ec2-user ~]$ sudo usermod -a -G www ec2-user 

Log-out and log back in after above changes

[ec2-user ~]$ exit 

Verify your membership in the www group.

[ec2-user ~]$ groups
ec2-user adm wheel systemd-journal www

Change the group ownership of /var/www and its contents to the www group.

[ec2-user ~]$ sudo chown -R root:www /var/www 

Change the Directory permissions of /var/www and its subdirectories to add group write permissions and to set the group ID on future subdirectories.

[ec2-user ~]$ sudo chmod 2775 /var/www 
[ec2-user ~]$ find /var/www -type d -exec sudo chmod 2775 {} + 

Recursively change the File permissions of /var/www and its subdirectories to add group write permissions.
[ec2-user ~]$ find /var/www -type f -exec sudo chmod 0664 {} + 

Create a simple PHP file in the Apache document root.

[ec2-user ~]$ echo "" > /var/www/html/testphpinfo.php

View page


Wednesday, January 28, 2015

Photo Amp

Photo Amp, a great way to Amplify your Photos! With Photo Amp you can enhance your photos, apply effects, add memes, focus on specific subject and many more!



Wednesday, January 14, 2015

Xcode 6.1 Apple Mach-O linker Build Error due to a renamed AppName

Apple Mach-O linker Build Error
Build target
Project | Configuration Debug | Destination iPhone 6 |  SDK Simulator
ld: file not found: ../Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator..
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution:
1. Open Xcode
2. Show/Click the Project Navigator
3. Show PROJECT and TARGET list
4. From the TARGETS, click the AppNameTests
5. General->Testing->Host Application
6. Select/Choose the AppName from the Host Application dropdown box

Thursday, December 4, 2014

Before Giving Away or Selling, Clean / Wipe / Erase iPhone iPad Touch iOS 8)

1. Backup device
  • via iTunes' Back Up Now button
  • via iPhone's Tap Settings > iCloud >  Backup

2. Sign out of iCloud
  • Tap Settings > iCloud
  • Scroll down
  • Sign Out

3. Erase iPhone's Content and Settings
  • Tap Settings > General > Reset > Erase All Content and Settings
  • If passcode enabled, Enter your passcode and Restrictions Passcode
  • Tap Erase iPhone
  • Tap Erase iPhone again to confirm
  • If Find My Phone enabled, Enter Apple ID password