After installing El Capitan and Xcode 7 beta, I’ve been trying to rebuild my MacPorts installation from scratch following the Migration instructions at MacPorts. Everything went fine till I tried to build ImageMagick. More precisely, pango (an ImageMagick dependency) failed with the following errors:In file included from <stdin>:6: In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.36.8/pango/pangocoretext.h:28: In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24: In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35: In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43: /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:15:1: error: '#pragma clang arc_cf_code_audited' was not ended within this file ... In file included from <stdi
Search results for
Xcode
92,317 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The developer center doesnt seem to call it out explicitly on its new design, however it has never acceptable to submit apps using betas(OS, Tools, Languages/APIs) of any kind for general App Store release in the past. We can submit iOS9 beta apps to Internal testers via TestFlight this year however.You'll mostly likely have to coordinate your development with the final release of iOS9 later this fall to submit Swift 2 apps built with Xcode 7. In order to accomplish this you should be using Source Control and creating a seperate branch to develop your Swift 2 version while still keeping your old code available to make updates/patches to until after iOS9 ships.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
for size classes like you can do in xcode 6
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Just wondering if (and if so, how) it's possible to archive my OS X app with the Address Sanitizer enabled (to give it to internal testers).The scheme editor in Xcode 7 makes it seem like that would not be possible, but maybe I'm missing something.
Dear all,I'm hoping someone will be able to advise me on how to resolve this error. I have tried numerous times to open files exported from Blender 2.74 in .obj, .stl or .ply formats, but get the same error message each time: 'The document testCube.obj could not be opened. Unknown or missing file'.Below is a description of how I generate the error, starting with the default cube object in Blender 2.74 and ending with Xcode7 beta:Open Blender. The 3D viewport contains the default cube object.In the Properties Window, click on the Materials buttonIn the Diffuse panel, set the colors to Red: 0.5, Green: 1.0, Blue: 1.0Save the file as 'testCube' to a folder on my desktopSelect File > Export > Wavefront(.obj)In the resulting Export window, click 'Export OBJ' without making any adjustments to the default settings in the 'Export OBJ' panel on the left hand side.Two files are saved to my folder: testCube.obj and testCube.mtlFirst approach to opening the file in Xcode7: Two-finger-click on testCube.obj, select '
Call the function from the module in which it is defined, ie use Swift.print instead of just print.Namespacing is implicit in swift, all classes (etc) are implicitly scoped by the module (Xcode target) they are in. no class prefixes needed- Chris Lattner(Also, you can Jump to Definition by moving the caret to something you are interested in and pressing ctrl+cmd+J, or cmd clickicking on it. Doing so on the function you want (ie print() in global scope (or at least a scope where there's no other print)) will show you that it's defined within the Swift module, which is the standard library.)
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Remember, there are two ways to share code between targets - frameworks, and just including the .m or .swift file in multiple targets using Xcode's inspector. I've not started using Xcode 7 yet, but in one app I have a framework that is shared between the iOS app, the iOS today widget and the watchOS 1 extension.From what you've described, that framework isn't going to work with a watchOS 2 extension because that extension runs on a completely different device. Which makes perfect sense! However, instead of creating a new Watch Framework target, including the same files in that target as in my existing framework and linking the watchOS 2 extension with that framework, an alternative might be to simply add those files to the watchOS 2 extension, cutting out the need for a framework entirely. There's not more than one target running on the Watch to share code between, so a framework doesn't really save you any space (which it does on iOS when used by multiple targets).In my case, not all of th
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Has anyone else been seeing really slow copy operations with the first beta? I just downloaded the Xcode 7 beta and have noticed that copying it and other files can take a very long time. It spends a very long time on preparing to copy before it actually starts the copy operation.
I'm a beginner. Have constructed app and am trying to get it externally tested. I can't upload my app to itunes connect. It says use Application Loader which i've tried from Xcode but nothing happens. If I just click Application Loader from itunes connect then nothing happens, just a blank screen.What extra do I need to do?
Hi,this is a suggestion for apple engineers for a improvement in code completion.I'm comming from the java world.So I'm accostumed to the luxury of great code completion and code recomenders for years.What I like to have in XCode, too, is something like this:http://www.eclipse.org/recommenders/this is a nice example of code recommenders in action:https://www.youtube.com/watch?v=T716BCrlMRQvery good talk in German:https://www.youtube.com/watch?v=abQSHWsygsYFor me, this is a great productivity boost.Best regards,Gerd
I'm using JXA to build Cocoa applications and running into a strange issue when attempting to wrap all an app's JavaScript with an immediately-invoked function expression.What's the issue?If the code for an app with a single NSWindow is wrapped in an immediately-invoked function, the app's window will close on it's own without any type of application crash. The app stays running.Here's the code I'm using:(function() { ObjC.import(Cocoa); var styleMask = $.NSTitledWindowMask | $.NSClosableWindowMask | $.NSResizableWindowMask | $.NSMiniaturizableWindowMask; var window = $.NSWindow.alloc.initWithContentRectStyleMaskBackingDefer( $.NSMakeRect(0, 0, 800, 400), styleMask, $.NSBackingStoreBuffered, false ); window.center; window.title = 'NSWindow Closure Bug?'; window.makeKeyAndOrderFront(window); }());Here's the example application https://dl.dropboxusercontent.com/u/271215/jsclosurebugexample.zipor recreate it with- Script Editor > New- Copy/paste the above code- Save > Fil
Hi,I cannot connect a first generation iPad running iOS 5.1.1 to XCode 7 Beta. XCode 7 Beta requires a device running with at least iOS 6.0 or later.Has support for devices running less than iOS 6.0 been dropped? Or is it just because it's a Beta.Thanks, David
Which version Xcode are you using?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
From the Xcode 7 Beta release notes (bold is mine)Xcode 7 has a ENABLE_BITCODE option to embed bitcode in apps, app extensions, and frameworks. The option is turned on by default for iOS and is mandatory for watchOS projects submitted to the store.Some compiler and linker options are not supported when bitcode is enabled (e.g., -mglobal-merge for clang and -sectalign for linker). Some linker options will result in warnings (e.g., - weak_framework and -weak_libraries). Bitcode builds for iOS also require a minimum deployment target of 6.0. (18447465)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
In Xcode 7 you can bake Ambient Occlusion onto your model by clicking a Scene Graph Node and then using the Scene Graph Atributes Inspector. If you look at the MDLMesh class it has methods for both the generation of Ambient Occlusion and also Light Maps. The method parameteres Bake Quality and Attenuation match the input controls in the Xcode 7 Attributes Inspector. https://developer.apple.com/library/prerelease/ios/documentation/ModelIO/Reference/MDLMesh_Class/index.html#//apple_ref/…Is the Light Map baking generation functionality available in Xcode 7 like it is available for Ambient Occlusion?If so where can I find it? Or is this coming in a later seed?