Search results for

“xcode github”

95,390 results found

Post

Replies

Boosts

Views

Activity

Create an app
I want to know how to create apps via Xcode. I really have a lot of ideas but don't know where to start. The thing is I am a beginer and I am welling to work hard to reach my dreams and design a phenomenon applications.
5
0
924
Jun ’15
Arrays of tuples
In Swift 2, I created an array of tuples and try to append an item such as: var foo = [(Int, String)]() foo.append((400, Bad Request))I get an error:error: missing argument for parameter #2 in call foo.append((400, Bad Request))However, if I do: var foo = [(Int, String)]() let e = (400, Bad Request) foo.append(e)It compiles.This code worked with the previous version of XCode and Swift, and the release notes don't make any mention of changes to tuples.Is this a bug or am I doing something wrong?
4
0
5.3k
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/natha
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
iTunes Connect: Invalid Binary on submission
I'm trying to upload a new version of an app to iTunes Connect but everything I've tried so far has resulted in a Invalid Binary report by iTunes Connect. I have the Archive action set to Release and all schemes set to use the distribution certification and profile. Everything archives fine and the binary validates, but after uploading to iTunes Connect the binary moves into the Invalid Binary state and I get the following email:Invalid Signature - Code object is not signed at all. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose Clean All in Xcode, delete the build directory in the Finder, a
2
0
4.5k
Jun ’15
Reply to can't download Xcode 7 beta
That fixed it, after creating a new email account, then changing the primary email addr to the new email account, and verifying the new email account. (what a pain...). Of course, the existing email account I would have preferred to change it to (rather than creating a brand new one) was also unavailable, because it had been previously specified as the emergency retrieval account ... or whatever they call it - can't remember now...), and naturally, there was no way to re-assign that one... arggh 😠Appears to be working now... Xcode 7 beta is now downloading (slowly...)Thanks for you help!
Jun ’15
Binary operator cannot be applied: NSCalendarUnit
Have the following code running in 7.0 beta (7A120f) - didn't see that as a topic in the beta forum...adjusting to the forum change.let dateComponentsFormatter = NSDateComponentsFormatter() dateComponentsFormatter.allowedUnits = NSCalendarUnit.Day | NSCalendarUnit.Hour | NSCalendarUnit.Minute | NSCalendarUnit.SecondReceiving the following build error: Binary operator '|' cannot be applied to two NSCalendarUnit operands.Did not see this error in Xcode 6, not sure if this should be filed as a bug report at this juncture. Other solutions offered by the interwebs proving unviable.Thoughts?Cheers,Josh
4
0
3.2k
Jun ’15
Reply to Can I AirDrop from one app to another?
According to the documentation:The Info tab of your Xcode project contains a Document Types section for specifying the document types your app supports. At a minimum, you must specify a name for your document type and one or more UTIs that represent the data type. For example, to declare support for PNG files, you would include public.png as the UTI string. iOS uses the specified UTIs to determine if your app is eligible to open a given document.If you're using file-based URLs, then my concern would be that the UIActivityViewController is choosing a different UTI than what you specified as the correct UTI.Have you tried manually creating a UIActivityItemSource and specifying a custom UTI to rule out those issues?
Jun ’15
New project errors
With iOS 9, I'm taking the opertunity to rewrite a small game of ours, and found that there are a few errors that keep popping up no matter what we do. Just thought I would share and see if anyone else has them or if anyone has solutions?Edit: Forgot to remove my unhandled iAd errors (I was going to include a picture which didn't have them in it, but they are not supported on the new forums). Also, I'm using GameKit (GameCenter is turned on), StoreKit (In-App Purchases is turned on), and iAd Frameworks in my app. No custom intergration, I've not even typed a single item of code besides linking UI items. Spaced the errors for readability.Edit 2: There is a comment below with an update (second comment down). Although this started in iOS 9 Beta (before Xcode Beta Form was avaible) it was for Xcode7 Beta 1, it is still relevant for Beta 2. It has also came to my attention that most of these errors have been showing since Xcode 5 or 4 (around 2012 - 2013). They have been known bugs, but
3
0
3.2k
Jun ’15
Getting compile errors in Interface Builder in Xcode7
Any idea what to do with this compile error in Xcode7? It doesn't like something about the storyboard it seems, but not clear whatCompileStoryboard Classes/Storyboards/AddEditLogs~iphone.storyboard cd /Users/user/Documents/ContactsJournal-316/SimpleList export PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode-beta.app/Contents/Developer/usr/bin/.. /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --module CJournal --output-partial-info-plist /Users/user/Library/Developer/Xcode/DerivedData/SimpleList-amnbkfmzfnizoraydqdeqdmphixr/Build/Intermediates/SimpleList.build/Debug-iphonesimulator/SimpleList.build/AddEditLogs~iphone-SBP
5
0
2.8k
Jun ’15
Create an app
I want to know how to create apps via Xcode. I really have a lot of ideas but don't know where to start. The thing is I am a beginer and I am welling to work hard to reach my dreams and design a phenomenon applications.
Replies
5
Boosts
0
Views
924
Activity
Jun ’15
Arrays of tuples
In Swift 2, I created an array of tuples and try to append an item such as: var foo = [(Int, String)]() foo.append((400, Bad Request))I get an error:error: missing argument for parameter #2 in call foo.append((400, Bad Request))However, if I do: var foo = [(Int, String)]() let e = (400, Bad Request) foo.append(e)It compiles.This code worked with the previous version of XCode and Swift, and the release notes don't make any mention of changes to tuples.Is this a bug or am I doing something wrong?
Replies
4
Boosts
0
Views
5.3k
Activity
Jun ’15
Reply to linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator/ExampleApp.app/ExampleApp normal i386 cd /Users/nathan/Desktop/Xcode App/ExampleApp1/ExampleApp export IPHONEOS_DEPLOYMENT_TARGET=9.0 export PATH=/Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/Volumes/Xcode/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Volumes/Xcode/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nathan/Library/Developer/Xcode/DerivedData/ExampleApp-adsgjtlrzvwdjxbdymykwbukmfch/Build/Products/Debug-iphonesimulator -F/Users/natha
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
I accepted the new developer agreements, but XCode still claims I need to accept the agreements
Subject says it - when I went into Xcode preferences>Accounts and tried to refresh my provisioning profiles, I got an error popup that I had to accept new agreements first. But I already had, and I went back and double checked in the Member Center. How do I continue?
Replies
6
Boosts
0
Views
1.1k
Activity
Jun ’15
Reply to iOS 9.0 with Xcode 6.3.2
I believe Xcode 7 is required here
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to iOS 9.0 with Xcode 6.3.2
If you update your device you'll have to use Xcode 7 to test on device.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Getting Apple Watch's UDID
How in XCode do you get Apple Watch's UDID?
Replies
3
Boosts
0
Views
4k
Activity
Jun ’15
Reply to Invalid Bundle Identifier Format
No such luck Jeff, I checked the plist file as XML and even recreated the item but it apperas to be good.Looks like I'm using Applcation Loader 3.1, I'm falling back and trying version 3.0 now. XCode 6.3.2 and OS 10.10.4, maybe I'll have to go back and try 10.10.3
Replies
Boosts
Views
Activity
Jun ’15
iTunes Connect: Invalid Binary on submission
I'm trying to upload a new version of an app to iTunes Connect but everything I've tried so far has resulted in a Invalid Binary report by iTunes Connect. I have the Archive action set to Release and all schemes set to use the distribution certification and profile. Everything archives fine and the binary validates, but after uploading to iTunes Connect the binary moves into the Invalid Binary state and I get the following email:Invalid Signature - Code object is not signed at all. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose Clean All in Xcode, delete the build directory in the Finder, a
Replies
2
Boosts
0
Views
4.5k
Activity
Jun ’15
Reply to Does WatchKit Extension code run on watch in watchOS 2?
Thanks, Behrens,Where will we find WatchConnectivity documentation?Will the simulator in Xcode 7 beta allow us to experiment with this configuration? Or are we required to install iOS 9 and register our watch to test this?Mike
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to can't download Xcode 7 beta
That fixed it, after creating a new email account, then changing the primary email addr to the new email account, and verifying the new email account. (what a pain...). Of course, the existing email account I would have preferred to change it to (rather than creating a brand new one) was also unavailable, because it had been previously specified as the emergency retrieval account ... or whatever they call it - can't remember now...), and naturally, there was no way to re-assign that one... arggh 😠Appears to be working now... Xcode 7 beta is now downloading (slowly...)Thanks for you help!
Replies
Boosts
Views
Activity
Jun ’15
Binary operator cannot be applied: NSCalendarUnit
Have the following code running in 7.0 beta (7A120f) - didn't see that as a topic in the beta forum...adjusting to the forum change.let dateComponentsFormatter = NSDateComponentsFormatter() dateComponentsFormatter.allowedUnits = NSCalendarUnit.Day | NSCalendarUnit.Hour | NSCalendarUnit.Minute | NSCalendarUnit.SecondReceiving the following build error: Binary operator '|' cannot be applied to two NSCalendarUnit operands.Did not see this error in Xcode 6, not sure if this should be filed as a bug report at this juncture. Other solutions offered by the interwebs proving unviable.Thoughts?Cheers,Josh
Replies
4
Boosts
0
Views
3.2k
Activity
Jun ’15
Reply to Can I AirDrop from one app to another?
According to the documentation:The Info tab of your Xcode project contains a Document Types section for specifying the document types your app supports. At a minimum, you must specify a name for your document type and one or more UTIs that represent the data type. For example, to declare support for PNG files, you would include public.png as the UTI string. iOS uses the specified UTIs to determine if your app is eligible to open a given document.If you're using file-based URLs, then my concern would be that the UIActivityViewController is choosing a different UTI than what you specified as the correct UTI.Have you tried manually creating a UIActivityItemSource and specifying a custom UTI to rule out those issues?
Replies
Boosts
Views
Activity
Jun ’15
New project errors
With iOS 9, I'm taking the opertunity to rewrite a small game of ours, and found that there are a few errors that keep popping up no matter what we do. Just thought I would share and see if anyone else has them or if anyone has solutions?Edit: Forgot to remove my unhandled iAd errors (I was going to include a picture which didn't have them in it, but they are not supported on the new forums). Also, I'm using GameKit (GameCenter is turned on), StoreKit (In-App Purchases is turned on), and iAd Frameworks in my app. No custom intergration, I've not even typed a single item of code besides linking UI items. Spaced the errors for readability.Edit 2: There is a comment below with an update (second comment down). Although this started in iOS 9 Beta (before Xcode Beta Form was avaible) it was for Xcode7 Beta 1, it is still relevant for Beta 2. It has also came to my attention that most of these errors have been showing since Xcode 5 or 4 (around 2012 - 2013). They have been known bugs, but
Replies
3
Boosts
0
Views
3.2k
Activity
Jun ’15
Getting compile errors in Interface Builder in Xcode7
Any idea what to do with this compile error in Xcode7? It doesn't like something about the storyboard it seems, but not clear whatCompileStoryboard Classes/Storyboards/AddEditLogs~iphone.storyboard cd /Users/user/Documents/ContactsJournal-316/SimpleList export PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode-beta.app/Contents/Developer/usr/bin/.. /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --module CJournal --output-partial-info-plist /Users/user/Library/Developer/Xcode/DerivedData/SimpleList-amnbkfmzfnizoraydqdeqdmphixr/Build/Intermediates/SimpleList.build/Debug-iphonesimulator/SimpleList.build/AddEditLogs~iphone-SBP
Replies
5
Boosts
0
Views
2.8k
Activity
Jun ’15