Skip to content

Xcode Tips #7

@sauchye

Description

@sauchye

Xcode Update( iOS lastest SDK )

Could not find developer disk image

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Error Tips

Run Reveal Error

A server with the specified hostname could not be found

fix :System Preferences->TCP/IP->DHCP Client ID: 4.2.2.2

http://stackoverflow.com/questions/11279491/a-server-with-the-specified-hostname-could-not-be-found

Xcode Error

Bundle display name Null

console:

alloc: *** error for object 0xfffffffffffffffc: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

fix:
Bundle display name add AppName

Sketch

http://www.jianshu.com/p/45eef5465185

在pch文件宏定义#define bundle id @"com.sauchye.SYADView" 会在CFBundle.h报错,注释掉即可,建议删除,不删除会出现坑的。


Your session has expired. Please log in.

你的账号过期,建议仔细检查快捷键cmd+,,检查账号,这是一个坑,当你有登录多个开发者账号时,可能会出现。

Your session has expired. Please log in

https://forums.developer.apple.com/thread/23674

消除Xcode警告

参考:http://my.oschina.net/joanfen/blog/493807

Build Settings - Customer Compiler Flags - Other Warning Flags添加
-Wno-shorten-64-to-32
-Wno-sizeof-array-argument
-Wno-sizeof-pointer-memaccess

Xcode Theme

https://github.com/vinhnx/Ciapre-Xcode-theme
1
2
3
4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions