I am just trying to learn swift. When i type #, XCode doesn't give any suggestion. I want to write #IBAction, #IBOutlet etc. If i write that, XCode does not show any error and it's work fine. If it's work then, why Xcode does not show any suggestion? I am using XCode 6.2 and iOS 8.2 . Please tell me how can i solve this problem?
Related
I'm developing a Mobile application for Apple Appstore, and I keep getting this error. I'm pretty much new to building iOS apps, so please help for me to understand what I'm doing wrong here. A possible solution to get past this error would be great.
Which version of Xcode are you using? You should be on nothing newer than Xcode 8 at the time of this post.
You can find the version in Xcode > About Xcode
In future please post text instead of screenshots for searchability.
Incase your project is having swift classes /library:, Please ensure below settings are as follows:
Project/Target settings -> build Settings
1. Defines Module -> YES
2. Always embed Swift Standard libraries -> YES
I fixed this issue by using 'Save for ios App Store Deployment' extraction.
I am in a confusion. i have to upgrade my project but it was created in xcode 6. when i open it in xcode 8, everything is fine but it is showing an exception thatthe storyboard in build for older version. Can i use the same storyboard to get my app live or i have to create a new one.
My question to you is: Why didn't you upgrade before? I don't see any code so my answer to your question is "no" because of the error. If the error didn't exist then I suppose you can because Xcode isn't complaining. If it were me I would have upgraded the storyboard even if their were no errors in Xcode. I just think working with the latest version is easier and ultimately less fragile. If you could show the error in a screen capture that would be helpful along with code examples.
I had updated my xcode to the latest version.
I wrote my program in swift and I try to upload it.
I put my Minimum System Version to 7.0 and added the SDK for 7.0 and it compiled fine.. but when I try to upload I get ERROR ITMS-90362 The value for key 'MinimumOSVersion' in bundle is invalid. the minimum value is 8.0.
I had double checked and I saw everywhere that swift supports iOS7. How is this possible?
Another problem is that I get this weird error: ERROR ITMS-90209 Invalid segment alignment. The app binary does not have the proper segment alignment.
I have the latest xcode from the AppStore. I even opened it through there. I tried extracting, clean, Application Loader.
Nothing seems to work.
I'm out of ideas.
Please help
Are you using embedded frameworks in your project?
If so, it could lead to such an error, as even though they work on iOS7, they're not supported on iOS7 and validation fails with a similar message when submitting.
If you're using swift features for ios8 only (e.g. transitions) then your program will still compile when your deployment target is ios7. You need to test it in the simulator with an ios7 device.
You need to use the iOS 8 (or latest) SDK but set the "iOS Deployment Target" to iOS 7.
I had the same error you had when trying to submit my app via xCode 6.1.1
Turns out, you can't mix Swift and dynamic libraries. I had 2 dynamics libraries in my project, and removing them and re-adding them another way (using cocoapods) fix my submission issue.
Good day mates! I just want to ask if how can i fix this problem. I'm using xcode 5.1.1 with the device version 7.1.1, but this is working on xcode 5.0 and if the device is 7.0 below. but in this new updates im getting this problem.
I Tried to look for solution and i got something that you need to convert the OCUnit to XCTest, but when i tried to convert it by going to Edit>Refractor>Convert to XCTest...
I only got this.
Just a blank window without nothing to select. how can i fix this :( Please help.
I am trying to use the new iOS6 SDK with an old version of Xcode, 4.2. And I really need to be this way.
I have followed this instructions: https://stackoverflow.com/a/9621226/987480
Everything seems to be OK, but when I have tried to compile, I got an error about Interface Builder
In Base SDK I have Latest iOS(iOS 6.1). Is anyone having the same problem? Any workaround, or a different way of getting an old Xcode+iOS6 SDK working?
Thanks a lot.
EDITED: Besides I can not edit any xib files, everytime I got a Crash Error
install xcode again, it works for me