I'm not getting the reason of below error in viewWillTransition function:--
Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value + 0
super.viewWillTransition(to: size, with: coordinator)
view.subviews.forEach { $0.removeFromSuperview() }
let deviceName = UIDevice.current.model
if deviceName == "iPhone" {
UserDefaults.standard.set(size.width, forKey: "RotScreenWidth")
UserDefaults.standard.set(size.height, forKey: "RotScreenHeight")
}
// var text=""
switch UIDevice.current.orientation{
case .portrait:
//text="Portrait"
self.viewDidLoad()
case .portraitUpsideDown:
//text="PortraitUpsideDown"
self.viewDidLoad()
case .landscapeLeft:
//text="LandscapeLeft"
self.viewDidLoad()
case .landscapeRight:
// text="LandscapeRight"
self.viewDidLoad()
default:
//text="Another"
self.viewDidLoad()
}
}
I've found this error from window -> Organiser -> crashes.
NOTE:- I've done all my design programmatically and all my design are loaded from viewDidLoad() . So I need to reload the design when there is device rotation.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Suppose my app's Ready for sale version is - 1.0.13.
Then an issue came to this version. I've fixed it from Xcode.
Everything is fine. Now how'll I update these changes in "Ready for Sale" version?
I used to do it in the following way -
Archive from xcode
Distribute to Testflight
Create new version in app store connect
select the build
Submit for review
But these process took so much time.
Are there any shortcut so that the changes can be reflected instantly??
Or this is the only procedure to update the app?
Suggestions are welcome...
Everything in my app was fine before 26th april.
But my code sign certificate has expired in 27th april and I'm getting this issue.
I'm getting this error at the end of archive in Xcode. and the archive is failed.
My Xcode version is 11.3.1. I've done below steps to solve this issue:-
1) I've removed pod and reinstall.
2) have lock and unlock the login from keychain certificate.
3) have created a new certificate which is valid for another year.
but still my issue is not solving. Please suggest me the solution if anybody have faced similar type of issue.
Does anyone has started to get the benefit of Small Business Programm?
I applied for apple small business program on 1st april. Then I had received a mail with context below:-
Thank you for submitting your enrollment for the App Store Small Business Program, designed to help you invest more resources into your business. We’ll review your details and email you with your enrollment status soon.
But till now I've not received any mail on status.
Does anybody have experienced with the same issue?
Then how do You solve this?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store
App Store Connect
I've read that apple will take 30% for first year and 70% to developer. After that developer will get 85%.
So after first year - does my app proceed price will increase?
And does the year calculate from my membership subscription date?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Analytics & Reporting