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.
Search results for
xcode github
91,890 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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?
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:
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?
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags:
Signing Certificates
Provisioning Profiles
I believe Xcode 7 is required here
Topic:
App & System Services
SubTopic:
Core OS
Tags:
If you update your device you'll have to use Xcode 7 to test on device.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
How in XCode do you get Apple Watch's UDID?
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
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
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
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:
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!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
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
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?
Topic:
App & System Services
SubTopic:
Networking
Tags:
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
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