xcode6.1

UITabbar in Xcode 6

牧云@^-^@ 提交于 2019-12-07 19:30:24
问题 I have UITabbarController with 4 tabs in iPhone 4, 4s, 5, 5S it is woking fine with tabbar item image But in iPhone 6 and iPhone 6 plus is looking wired. Is it need to put different images for both iPhone 6 and iPhone 6 plus ? How can I set this images. in iphone 6 And, iPhone 6 Plus 回答1: I ran into this same issue. The problem here is not only the different resolution, but the fact that the size of the bounds is actually wider for iphone 6 and iphone 6 plus. By running the simulator on all

Can't delete the old agent Apple ID from Xcode

我是研究僧i 提交于 2019-12-06 16:46:54
I have a problem regarding to adding Apple ID to Xcode. So far I have been using an office Apple ID as my Xcode Apple ID. Now they invited me to join as a developer. so using my own Apple ID I can access the provisioning profiles and apps in old account. And now I want to add my own apple id to the xcode and delete that old office Apple id. But I cant delete the old apple id from the xcode. When I archive the project and when try to save the .ipa file, it says cant access the account. That means they have changed the password of old account. I have already added my private apple id to Xcode

UITabbar in Xcode 6

若如初见. 提交于 2019-12-06 11:18:59
I have UITabbarController with 4 tabs in iPhone 4, 4s, 5, 5S it is woking fine with tabbar item image But in iPhone 6 and iPhone 6 plus is looking wired. Is it need to put different images for both iPhone 6 and iPhone 6 plus ? How can I set this images. in iphone 6 And, iPhone 6 Plus I ran into this same issue. The problem here is not only the different resolution, but the fact that the size of the bounds is actually wider for iphone 6 and iphone 6 plus. By running the simulator on all different phone types I found the following: Tab bar Bounds iPhone 6 plus: 414 x 49 iPhone 6: 375 x 49 iPhone

Can not connect custom protocol delegate from storyboard in Xcode 6.1

大城市里の小女人 提交于 2019-12-06 01:13:11
I just upgraded my mac to 10.10 and Xcode to 6.1, found a strange thing which about storyboard, my case is using a swift project, can not connect custom protocol delegate from storyboard anymore. the old connected which comes with old version of Xcode is fine, but I can not connect any new delegate anymore. even I can not reconnect the old one once I removed the connected. Does anyone occur this situation ?? ============================== Updated ============================== View Class @objc public protocol VideoViewResizeDelegate { func shouldVideoViewResetLayout(videoView: GvVideoView) ->

Xcode 6.1 not detecting device iPhone 5s running iOS 8.1

纵然是瞬间 提交于 2019-12-05 15:06:48
问题 My 5s was running fine with Xcode 6.0.1 when I was using iOS 8.0.2. But then I upgraded to iOS 8.1, build my code, and I got an error saying "Xcode cannot run using the selected device. No supported iOS devices are available. Mark an iOS device as 'Use for Development' to run your application or choose an iOS simulator as the destination." So then I figure I need to upgrade to Xcode 6.1, but I still got the same error. The strange thing is under Windows > Devices I can see my iPhone 5s

XCode 6.1 Missing required architecture X86_64 in file for extern library

旧巷老猫 提交于 2019-12-05 13:01:25
I have an issue when trying to use an external lib : I can't compile the project as it throws an exception as below. ld: warning: ignoring file /Users/renaudcousin/Documents/XCode/WORK/StimShopPOC/StimShopPOC/libStimshop_SDK.a, missing required architecture x86_64 in file /Users/renaudcousin/Documents/XCode/WORK/StimShopPOC/StimShopPOC/libStimshop_SDK.a (3 slices) Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_StimshopSDK", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v

Can't run iPhone simulator - file “Logs” couldn't be saved

£可爱£侵袭症+ 提交于 2019-12-04 22:40:13
iPhone simulator doesn't work. Displays error message: The file “Logs” couldn’t be saved in the folder “Library” because a file with the same name already exists. When /Logs dir is empty, simulator creates subdir CoreSimulator/[AppID] and dispalys the above message. It's fresh OS X Yosemite, installed on new Mac Mini. Any idea how to fix this issue ? Try to reset the Ios Simulator settings it worked for me! iOS Simulator -> Reset Content and Settings... Just to make it more clear (In addition to @storm's answer): I suspect that you manually deleted ~/Library/Logs/CoreSimulator and the error

Using Objective-C code in iOS Cocoa Static Library project with Swift code in iOS Application project

99封情书 提交于 2019-12-04 17:00:17
I am looking for a simple procedure for combining an Objective-C code from a shared library project with Swift code from an application project but have had no success so far with this sequence: start Xcode 6.1.1 create workspace Test create iOS Cocoa Touch Static Library project TestLibrary and add it to workspace create iOS Single View Application project Test (language: Swift) and add it to workspace add import TestLibrary to ViewController.swift If I now build Test, I receive this error in ViewController.swift: No such module: ‘TestLibrary’ . Presumably two hurdles must be overcome: Tell

Xcode 6.1 'Swift REPL built into the Xcode debugger can inspect and manipulate your running app' not working

旧时模样 提交于 2019-12-04 09:49:45
问题 For Xcode 6.1 one of the update point is: Swift REPL built into the Xcode debugger can inspect and manipulate your running app I've created empty project, set a breakpoint in viewDidLoad, when app stops at breakpoint, I'm typing 'repl' in Xcode console, then trying to print self with println(self) But Xcode gives me the error: error: use of unresolved identifier 'self' But it's not working. The question is: What I'm doing wrong? 回答1: Turns out there are actually two expression evaluators for

Formsheet ios 8 constraints are same as iphones constraints

不想你离开。 提交于 2019-12-04 02:27:40
I have this problem where formsheet in ios 8 is taking the constraints set for "compact - width regular -height" (that is all iPhones constraints) instead of "any- any" or "regular -width regular -height". I have two different design for iPhone and iPad since the formsheet is consuming iPhones constraint iam not able to achieve the same. Any help on this would be aprreciatd Aaron Brager From the UIViewController class reference: In a horizontally regular environment, a presentation style that displays the content centered in the screen. The width and height of the content area are smaller than