小编Ada*_*gio的帖子

UI元素在界面生成器中显示蓝色边框

由于最新的Xcode更新视图的所有元素在Interface Builder中显示为蓝色边框.有没有办法在每个视图中禁用此蓝色边框?当视图中有许多元素时,这很烦人.

附件是示例图像

每个uielement的蓝色边框

xcode interface-builder

14
推荐指数
1
解决办法
4061
查看次数

XCode使用cocoapods框架找到了具有相同标识符的bundle

当我尝试在模拟器或iPhone中执行我的应用程序时,我收到下一个错误:

App installation failed
This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

当我查看设备的日志时,我得到了详细的错误消息:

对于iPhone:

Feb 13 10:28:36 iPhone-de-P streaming_zip_conduit[240] <Warning>:     __dispatch_source_read_socket_block_invoke:274:
Failed to install application at file:///var/mobile/Media/PublicStaging/MyApp.app/ : 
Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=DuplicateIdentifier, 
ErrorDescription=Found bundle at /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.3L3YM3/extracted/MyApp.app/Frameworks/SlideMenuControllerSwift.framework 
with the same identifier ($(PRODUCT_BUNDLE_IDENTIFIER)) as bundle at /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.3L3YM3/extracted/MyApp.app/Frameworks/Serialize.framework}
Run Code Online (Sandbox Code Playgroud)

对于模拟器:

12/2/16 20:40:34,408 com.apple.CoreSimulator.CoreSimulatorService[2426]:
Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=DuplicateIdentifier, 
ErrorDescription=Found bundle at /Users/myUserName/Library/Developer/CoreSimulator/Devices/78CD18E0-B8E1-4A95-9224-2EF3ABDE5585/data/Library/Caches/com.apple.mobile.installd.staging/temp.s9Kecf/extracted/MyApp.app/Frameworks/SlideMenuControllerSwift.framework 
with the same …
Run Code Online (Sandbox Code Playgroud)

xcode ios ios-simulator cocoapods swift

5
推荐指数
1
解决办法
3996
查看次数

标签 统计

xcode ×2

cocoapods ×1

interface-builder ×1

ios ×1

ios-simulator ×1

swift ×1