Monday, 4 September 2017

How to Create .ipa File in Xcode

Following are the steps to create .ipa file in Xcode:

1.open your Xcode project
2.connect Real device for run the project
3.Build Project
4.After Running the project on real device go into the filter area and type .app
5.Right click on the .app file and show in finder
6.Open iTunes and drag and drop the file into iTunes
7.and then on iTunes right click on the file and say show in finder
8.You get your .ipa file

Sunday, 3 September 2017

New App Expiration Rules of Diawi

On the self-service, which is here for quick/one-shot app testing, no strings attached, uploaded apps will expire quickly:
  • 3 days after the last installation (or after the upload if never installed)
  • after 10 installations
  • 100MB maximum size
Currently, most apps are installed less than 5 times and within 2 days after the upload, and their average size is 20MB, so these new rules should be more than good for most usage.
On the free account, which is more for simple app management, though premium accounts will have the real management features later, uploaded apps will have a bit shorter lifespans too:
  • 7 days after the last installation (or after the upload if never installed)
  • after 25 installations
  • 250MB maximum size
Currently, most apps uploaded with a free account are installed less than 10 times and within 5 days after the upload, and their average size is 30MB, so these new rules should well match most usage.

Friday, 1 September 2017

Notification with Sound When App is in Foreground

Hello Friends, Normally APNS sends notification when app is in foreground with notification , badge and Alert. But When App is in foreground it only delivers notification but not with the sound feature.

For This Add this code in your AppDelegate.m method

- (void)userNotificationCenter:(UNUserNotificationCenter* )center willPresentNotification:(UNNotification* )notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler {
    
    //For notification Banner - when app in foreground
    
    completionHandler(UNNotificationPresentationOptionAlert |  UNNotificationPresentationOptionSound |UNNotificationPresentationOptionBadge);
    
    // Print Notification info
    NSLog(@"Userinfo %@",notification.request.content.userInfo);

}


Thanks

Wednesday, 19 July 2017

Signing for "ProjectName" requires a development team. Select a development team in the project editor.

Follow the following steps
1. Go on Project Main Source File
2. Go in General Tab
3. Under General Go into Signing  where you have status in red warning
4. Select Your Correct Team and Tick Automatically manage Signing

Sunday, 9 July 2017

ios:xxxx was compiled with optimization - stepping may behave oddly; variables may not be available.

The error that appears is the problem with the xcode run mode, in the edit scheme

To solve this issue, try following steps:


1. Go to Product Menu
2. Select Scheme From Product Menu
3. Select Edit Scheme From Scheme Option
4. Select Info under Rum mode
5. Select Build Configuration as Debug not a Release Mode


XCode: linker command failed with exit code 1 (use -v to see invocation) xcode

There are lot of issues when this error called at the time of build of project

 Try follwing:

1) Disable bitcode

Go to Main File of project
Select Build Setting
Find BitCode
Disable Bitcode



2) Multiple Time compiles Same Code

Suppose, in Project we have a lot of file. and In Some files same function is written with the same name. Then this issue arises.

So overcome to this issue change the name of function in every file.

Dependency Manager in iOS

What is Dependency Management? When working in iOS, there are plenty of amazing third party libraries that we can use to save us time an...