xcode9.1

Linker error: ld: symbol(s) not found for architecture x86_64

久未见 提交于 2020-01-25 09:41:20
问题 I'm trying to run my UITests target in Xcode 9.1. The actual app runs, but the UITests target is giving me this error. I've tried restarting, reinstalling pods, updating pods, changing various build settings, deleting and relinking frameworks. Any ideas? Undefined symbols for architecture x86_64: "__T010LearnerLog8DurationCMa", referenced from: __T017LearnerLogUITests21testAddPreviousDrivesC0deF5DriveyyF in testAddPreviousDrives.o ld: symbol(s) not found for architecture x86_64 clang: error:

How to always visible horizontal scrollbar of NSTableview in objective c programmatically?

喜夏-厌秋 提交于 2020-01-16 07:29:23
问题 I have added NSTableview with multiple columns, I want its horizontal scrollbar should always visible, How to achieve this? 回答1: I create NSScrollview outlet & set in .xib file to superview of NSTableview & used two methods. - setAutohidesScrollers set NO, - setScrollerStyle: set NSScrollerStyleLegacy Set style NSScrollerStyleLegacy meaning is NSSCrollbars background is not transparent. This solved my problem, Hope it will help others. 来源: https://stackoverflow.com/questions/48543845/how-to

Swift Compiler - General is missing in Xcode 9.1

一曲冷凌霜 提交于 2019-12-24 17:17:56
问题 I was trying give bridging header in target -> Build settings -> Objective C Bridging header I could able to do that using project created using Xcode 9 But I couldn't find Objective C Bridging header in Xcode 9.1 . It is missing in project created in Xcode 9.1 like below. 回答1: Make sure your build setting is selected as "All" and "Combined" look at below image Click on above image for more clear. and just search "bridg" in search bar you will be see Objective C Bridging header . 来源: https:/

How do you close open files using Swift?

送分小仙女□ 提交于 2019-12-10 20:19:32
问题 I am downloading ~1300 images. Those are small images total size is around ~500KB. However, after downloading and putting them into userDefault, I get error as below: libsystem_network.dylib: nw_route_get_ifindex :: socket(PF_ROUTE, SOCK_RAW, PF_ROUTE) failed: [24] Too many open files Assumingely, downloaded png images are not being closed. I already extended cache size via below: // Configuring max network request cache size let memoryCapacity = 30 * 1024 * 1024 // 30MB let diskCapacity = 30

Getting this error command /usr/bin/codesign failed with exit code 1 with xcode 9.1?

大憨熊 提交于 2019-11-29 04:26:42
I am getting this error /Users/macbook/Library/Developer/Xcode/DerivedData/xxxxx-egjyfcyhdfcgftavbtoudbcgthja/Build/Products/Debug-iphoneos/xxxx.app: unknown error -1=ffffffffffffffff command /usr/bin/codesign failed with exit code 1 with xcode 9.1/ios11.1 while building the application, earlier i was able to run my application smoothly. Any idea what could be the issue. I have already tried following steps: Deleting all the Derived Data. update all provisioning profile and certificates. But still no luck. Try updating your keyChain password. For that try following If you don't know your old

Failed to load optimized model - GoogleMaps SDK IOS

无人久伴 提交于 2019-11-28 08:07:45
I am getting this error after installing Google Maps SDK from CocoaPods. CoreData: annotation: Failed to load optimized model at path '/Users/nabeel/Library/Developer/CoreSimulator/Devices/96078737-8063-4BC1-97DB-7FECEC6835D9/data/Containers/Bundle/Application/972CD686-82DD-4357-9CDD-65A735D82190/My-APP-Beta.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo' CoreData: annotation: Failed to load optimized model at path '/Users/nabeel/Library/Developer/CoreSimulator/Devices/96078737-8063-4BC1-97DB-7FECEC6835D9/data/Containers/Bundle/Application/972CD686-82DD-4357-9CDD

warning: 'characters' is deprecated: Please use String or Substring directly

僤鯓⒐⒋嵵緔 提交于 2019-11-28 03:52:23
characters - an instance property of String, is deprecated from with Xcode 9.1 It was very useful to get a substring from String by using the characters property but now it has been deprecated and Xcode suggests to use substring . I've tried to check around SO questions and apple developer tutorials/guidelines for the same. But could not see any solution/alternate as suggested. Here is warning message: 'characters' is deprecated: Please use String or Substring I've so many string operations are performed/handled using property characters . Anyone have any idea/info about this update?

Getting this error command /usr/bin/codesign failed with exit code 1 with xcode 9.1?

别说谁变了你拦得住时间么 提交于 2019-11-27 18:37:33
问题 I am getting this error /Users/macbook/Library/Developer/Xcode/DerivedData/xxxxx-egjyfcyhdfcgftavbtoudbcgthja/Build/Products/Debug-iphoneos/xxxx.app: unknown error -1=ffffffffffffffff command /usr/bin/codesign failed with exit code 1 with xcode 9.1/ios11.1 while building the application, earlier i was able to run my application smoothly. Any idea what could be the issue. I have already tried following steps: Deleting all the Derived Data. update all provisioning profile and certificates. But

Failed to load optimized model - GoogleMaps SDK IOS

时间秒杀一切 提交于 2019-11-27 02:04:40
问题 I am getting this error after installing Google Maps SDK from CocoaPods. CoreData: annotation: Failed to load optimized model at path '/Users/nabeel/Library/Developer/CoreSimulator/Devices/96078737-8063-4BC1-97DB-7FECEC6835D9/data/Containers/Bundle/Application/972CD686-82DD-4357-9CDD-65A735D82190/My-APP-Beta.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo' CoreData: annotation: Failed to load optimized model at path '/Users/nabeel/Library/Developer/CoreSimulator

warning: 'characters' is deprecated: Please use String or Substring directly

三世轮回 提交于 2019-11-27 00:12:14
问题 characters - an instance property of String, is deprecated from with Xcode 9.1 It was very useful to get a substring from String by using the characters property but now it has been deprecated and Xcode suggests to use substring . I've tried to check around SO questions and apple developer tutorials/guidelines for the same. But could not see any solution/alternate as suggested. Here is warning message: 'characters' is deprecated: Please use String or Substring I've so many string operations