How to fix warning after updating xcode 8.3 to 9.1 - ios

I was working in Xcode 8.3 and developing a Ios project in swift 3. But since my iphone is not connecting to xcode so i updated the xcode to 9.1. Now there is lot of warning showing in my code.
e.g
I was using SVProgresssHud but now its showing 3 warning and also
progress bar is not showing in simulator or device, previously it was
showing.
Below image showing warnings:
I am using dependencies of facebook in that also warning is showing. I reinstall my all dependencies but it not solves. I don't have knowledge of objective c and I am very new to ios environment.
Any help will always be appreciated.

Related

AppIcon overlay is not working in Xcode 9.2

Recently I was searching something great for my app, and I found that I can add an overlay to AppIcon for different Configuration of the project. But it is not working in Xcode 9.2 with iOS 11.2.2.
Here is what Tested.
Using Amaro I can get an overlay of version and build with the configuration in Xcode 8.3.2 with simulator iPhone 6s.
But not getting in my iPhone 6 (iOS 11.2.2 with Xcode 9.2)
I've also visited here and here but not getting anything which is compatible with Xcode 9.2
Please help me to find solutions for this issue.

xcode 7 update causing hang at splash screen

I just updated to xcode 7.0 and now my app is hanging at the splash screen.
I'm using a Google Maps Pod.
At first a clean & build caused a build fail stating that the Enable bitcode needed to be switched off.
I did that. My app now builds, however when I install it to the simulator or iPad it hangs on the splash screen.
There are no issue flags being displayed and the app appears to just hang forever until forced closed.
Everything was working fine until this xcode 7.0 update. Any ideas?
A previous post xcode 7 issues
stated that there are some problems with content in the view controller when compiled with 7.0. The solution was to completely reassemble the views piece by piece until it starts working. This is not a practical response because of time constraints and financial aspects at work. I uninstalled xcode 7.0 and then went to the Apple developer archives and reinstalled xcode 6.4.
The app now runs correctly. Hopefully this will get sorted out by 7.1.

Having issue with Xcode 7 iOS 9 mapview

I am building a sample application using Xcode 7 beta6. I have included MapView in xib and a label . When I am trying to run the app it is giving the below error. It is working in Xcode 6. I have searched web but nothing is working for me. Could you please help me to resolve this issue?
Not sure if this is of help to you as I am in a similar issue with XCode 7 and iOS 9 whereas it was working for me too in iOS 8.4 and XCode 6.4... But I previously had to make two inserts into the info.plist section of XCode of the app in order for my app using a UIMapview to work. I just discovered it yesterday myself iwhen I upgraded to iOS 9 and XCod4 7. Hope this points you in a general correct direction to look.

Xcode not showing iOS 6 UI

I have an application build on Xcode 4.6 and iOS 6.1, but now apple requirement of submitting app must be published using Xcode 5.0. I set the deployment target to 6.1 in Xcode 5 and publish the app to app store.
I have a plan to shift completely to ios7 later but when I run app from Xcode 5 I am getting old UI but if i am downloading from store I am getting the ios7 UI which is not optimised and all loping very bad.
How to fix this issue?
Some UI elements are iOS version depended (no matter on what Xcode version your app was compiled). If you are using iOS 7 (on the simulator or on a real device) your UIAlertView for example will have the new iOS 7 UI. (Blurred white with blue writing)
I'm guessing that your iPhone has iOS 7 on it while you are trying to run your app from Xcode on iOS 6 simulator.
On a device running iOS 7, all of the system UI—such as alerts and
notifications—uses the iOS 7 appearance, even if your app is currently
using an earlier appearance.
iOS 7 UI Transition Guide
If you want to keep the legacy UI and still use Xcode 5 you can read this great tutorial.
I'd still advise against this, staying behind will stack more and more problems that you'll need to solve eventually.

Should we run iPhone application in xcode 5 with ios simulator 7?

I have generated a build in Xcode 4.6 and tested it in iPhone 5 device with iOS 7.4 and its working fine and I was not getting any issues such as status bar missing, UIButton background missing etc. But if I run the same code in Xcode 5 with iOS simulator7 then I was getting issues such as status bar missed, background of UIButton missed and I couldn't able to change the table view back ground color. So finally should I run my code in Xcode 5 with iOS simulator 7 and fix all the issues? OR can I directly push this app in to App Store with out checking it in Xcode 5. Please help me. Thanks in advance.
In Xcode 4.6 the base SDK is for iOS6. So if you build an application on Xcode 4.6 it will run iOS 7 but it will not be able to use the API's provided by Apple for iOS7. It will a iOS6 app running on iOS7 like many other apps do.
In Xcode 5.0 the base SDK is for iOS7. This means that you can use the latest APIs provided for iOS7. You are getting these errors when building in Xcode 5.0 because those APIs might not be supported in the new iOS7 SDK.
What I mean to say is that if you want your app to be a native iOS7 app then you need to build it on Xcode 5. Building on Xcode 5 will allow your app to feel like an iOS7 app. Though you will face a lot of errors as a lot of iOS6 APIs have been deprecated in iOS7.
If you want to support both iOS6 and iOS7 I suggest you build it on Xcode 5. Again you will have to keep in mind that some iOS7 API's are not available for iOS6 therefore you will have to keep a check on that.
To get a better idea I suppose you should have a look at this document.
iOS7 transition guide
Thank You.
You should definitely build and test in Xcode 5, why run the risk of shipping a bad product? For me you must properly test this in Xcode 5, on all deployment intended devices and the simulator.
Follow the iOS 7 UI Transition Guide to fix all the issues you have in XCode 5 and then submit the app to the store.

Resources