Search results for

xcode github

92,008 results found

Post

Replies

Boosts

Views

Activity

CALayer.filters on iOS 9
Does CALayer.filters finally do anything on iOS 9? I hoped this might finally be implemented, given that OS X and iOS now share a common implemention of Core Image. However, CIFilter.name is read-only (did it used to be?), so it's impossible to name the filter in order to use the CALayer.setValue (foo, forKeyPath: filters.myFilter.param) technique that you'd use on OS X to set the filter's parameters.Just setting the inputScale directly on a CIPixellate filter that's been added to a layer's filters array seems to do nothing (see sample code below).So, I guess we're waiting for iOS 10?—invalidnameimport UIKit class ViewController: UIViewController { @IBOutlet weak var textField: UITextField! @IBOutlet weak var pixellationSlider: UISlider! let pixellationFilter : CIFilter! = CIFilter(name: CIPixellate) override func viewDidLoad() { super.viewDidLoad() / pixellationFilter.setDefaults() textField.layer.filters = [pixellationFilter] updatePixellationFilterScale() NSLog (textField.layer.f
1
0
1.1k
Jun ’15
ERROR ITMS-90035
Hello, I have submitted my app build from xCode on June 10, 2015 through XCode. It passed all validations and submission was successful. But it's not appearing in iTunes Connect even now. As it is not shown, I have been trying to submit another build for the same application using the same configurations and same xCode method for submission, am getting this error description: 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, and rebuild your release tar
4
0
2.4k
Jun ’15
Re: New LLVM compiler introduces hang using gcd
I originally posted this problem in the old devforums, and now have a reduced test case.I still don't understand what's fundamentally the issue here, but basically the new compiler is somehow allowing a block to get added to a GCD queue twice in some situations. In the following code, the 10 worker blocks each do their thing and the parent block waits until they're all done. This used to work really well (through Xcode 5.1.1), but now, occationally, one of the worker threads will get added to the queue *twice*.Jeffreyint main(int argc, const char * argv[]) { @autoreleasepool { dispatch_group_t group = dispatch_group_create(); dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0); NSUInteger totalWorkers = 10; NSMutableArray *workers = [[NSMutableArray alloc] init]; for (NSUInteger iWorker=0; iWorker<totalWorkers; iWorker++) { __block int numThreads = 0; workerType worker = ^{ numThreads++; if (numThreads>1) { NSLog(@Whoops! Called by two threads); } int y = 0; for
7
0
1.2k
Jun ’15
Do we still need to add devices to the portals?
The developer homepage says that with Xcode 7, a person can run their app on their device, even if they do not have a developer membership.Do the devices still needed to be added to the portal? Xcode seems to imply that they do, but I would like to clarify because we have a lot of devices (some broken, some lost) and would like to not have to add devices just to test the app (Adding to the portal to install betas is fine)
0
0
309
Jun ’15
I have created a gitignore file but xCode is not using it so I get merge source code errors, what have I done wrong ?
I have been compiling my App for a couple of years now no problem and it has been using my gitignore quite happily.All of a sudden something has gone wrong and now, when I try to merge a branch back to master I get an error related to xcuserdata, which it should be ignoring.I therefore assume that xCode is no longer fidning my gitignore file.My gitignore file is called default.gitignore.Where in xCode do I define where to look for my gitignore file ? I have forgotten and can't seem to find a reference telling me where to find it.Any guidance much appreciated.Thanks,Guy
1
0
3.1k
Jun ’15
Watch app does not update...
I can not get the CMD-R run function to update my watch display. I have made changes to my storyboard yet when I run the app again (and again), there is no change in the view. My changes to the view include resizing and changing the alignment of a group within a group. I've delete the app from my phone and had mixed results with running the app again. Sometimes the app won't appear on the watch face with the xcode display showing Waiting to attach. What techniques do I need to use to avoid any associated bugs or other issues with the two devices communications to get through the development process with less hassle?
1
0
179
Jun ’15
directions search in iOS 9 fails with SSL error
When making a call to get directions, e.g. MKDirections calculateDirectionsWithCompletionHandler:(MKDirectionsHandler)completionHandler...in iOS9 simulator, every call fails with an SSL error. Here's the error trace:2015-06-13 13:33:35.302 DriveTime[2007:362234] CFNetwork SSLHandshake failed (-9824)2015-06-13 13:33:35.304 DriveTime[2007:362234] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)2015-06-13 13:33:35.305 DriveTime[2007:361377] PBRequester failed with Error Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo=0x7fb1bb2085f0 {_kCFStreamErrorCodeKey=-9824, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7fb1b23b6f90 An SSL error has occurred and a secure connection to the server cannot be made., NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://gsp-ssl.ls.apple.com
9
0
41k
Jun ’15
Creating an IBOutlet or IBAction from a UIButton within a UITableViewCell subclass in a static UITableView
Hello,I'm trying to create an IBOutlet from a UIButton that lives in a UITableViewCell subclass in a static UITableView. I've set the custom class for the appropriate cell in my storyboard. I've added the UIButton as a subview of that cell's content view. However, I can't control+drag from the storyboard into my custom cell swift file. Is there any way to accomplish this?I'm working in Xcode 6.Thank you.
2
0
3.3k
Jun ’15
Problem with Overlapped Textures and Transparent Pixels
Sorry if this is the wrong place to post, but like many others have pointed out there is no spot in pre-release for xcode 7 questions (please move message if I'm wrong).I am building a single image by overlapping two or more images.I'm using a texture atlas containing layer 1, 2, 3, etcI set the anchor point to 0,0I draw the first imageI load the next imageset the anchor to 0,0and draw it on top of the first.the first image is 14 pixels wide and 14 pixels tall (no transparent pixels)the second image is also 14 pixels wide and 14 pixels tall, but it has a fully transparent pixel around it (so the actual image is 12x12)In xcode 6 I would see the second image centered on top of the first.in xcode 7 I see the second image position in the bottom left corner of the first image. It appears to be cropping out the blank pixels.I know in the past people have suggested using a 1% alpha pixel rather than fully transparent to work around this issue. However, I did not have this issue in xcode
6
0
1.4k
Jun ’15
about bluetooth Ble communication between mac os x and android 5.0
I developed a program which establish communication by BLE. it works normal between mac 、ios、mac。but when try to establish communication between mac osx and android 5.0.x ,it fail。Then I debuged it,it maybe bug:- (void)peripheral:(CBPeripheral *)peripheral didDiscoverCharacteristicsForService:(CBService *)service error:(NSError *)error{ if (error) { NSLog(@Discovered characteristics for %@ with error: %@, [service.UUID UUIDString], [error localizedDescription]); return; } for (CBCharacteristic *characteristic in service.characteristics) { NSLog(@characteristics uuid:%@,[characteristic.UUID UUIDString]); if ([characteristic.UUID isEqual:[CBUUID UUIDWithString:READ_CHARACTERISTIC_UUID]]) { / int properties = characteristic.properties; / int notifyable = properties & 0x10; if(notifyable!=0){ NSLog(@准备监听characteristics uuid:%@,[characteristic.UUID UUIDString]); [peripheral discoverDescriptorsForCharacteristic:characteristic]; / [peripheral setNotifyValue:YES forCharacteristic:characteristic]; } } if
4
0
1k
Jun ’15
Xcode 7 - can not create local repository, commit files.
I have downloaded and installed Xcode 7.0b (7A120f), and created new project with the Source control - Create Git repository on.However, after the project is created I see the local branch is missing and I can not commit files (Commit files does nothing).What has been noted:1. When Xcode is started the following error is presented: Couldn’t communicate with a helper application.2. When I open the Source control - Commit, I can see Loading remotes... (should be No Remotes Available).PS: Xcode 6 is working fine wit git (git version 2.3.7 (Apple Git-57)).Will be glad for any help to fix it.
10
0
7.6k
Jun ’15
Matching Xcode color space with Digital Color Meter
In Xcode Interface Builder, I use Digital Color Meter to find the color code of an item as follows:http://i.imgur.com/SFsKoG0.pngThe values for (R,G,B) are (255,172,40).Then I select a label to set it's color same. I proceed as follows:http://i.imgur.com/xGbIV9o.pngHowever, now when I use Digital Color Meter to detect the newly assigned color, I find instead of (255,172,40), I get (253,156,32).http://i.imgur.com/X4yN4qw.pngHow can I make the color of both items match?
1
0
587
Jun ’15