{"action":"opened","issue":{"url":"https://api.github.com/repos/couchbaselabs/couchbase-lite-libsqlcipher/issues/2","labels_url":"https://api.github.com/repos/couchbaselabs/couchbase-lite-libsqlcipher/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/couchbase-lite-libsqlcipher/issues/2/comments","events_url":"https://api.github.com/repos/couchbaselabs/couchbase-lite-libsqlcipher/issues/2/events","html_url":"https://github.com/couchbaselabs/couchbase-lite-libsqlcipher/issues/2","id":123742898,"number":2,"title":"Cannot build iOS library with XCode 7.2","user":{"login":"pasin","id":801454,"avatar_url":"https://avatars.githubusercontent.com/u/801454?v=3","gravatar_id":"","url":"https://api.github.com/users/pasin","html_url":"https://github.com/pasin","followers_url":"https://api.github.com/users/pasin/followers","following_url":"https://api.github.com/users/pasin/following{/other_user}","gists_url":"https://api.github.com/users/pasin/gists{/gist_id}","starred_url":"https://api.github.com/users/pasin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pasin/subscriptions","organizations_url":"https://api.github.com/users/pasin/orgs","repos_url":"https://api.github.com/users/pasin/repos","events_url":"https://api.github.com/users/pasin/events{/privacy}","received_events_url":"https://api.github.com/users/pasin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-24T01:16:00Z","updated_at":"2015-12-24T01:16:00Z","closed_at":null,"body":"Build failed when building the binary for simulator:\r\n```\r\nxcodebuild -scheme ios-static -configuration Release -derivedDataPath build -sdk iphonesimulator\r\n```\r\n\r\nError:\r\n```\r\nWhile building module 'Darwin' imported from /Users/pasin/Git/couchbase/couchbase-lite-libsqlcipher/src/c/sqlite3.c:242:\r\nIn file included from <module-includes>:3:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/copyfile.h:36:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2/include/stdint.h:63:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/stdint.h:26:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/_types/_uint64_t.h:31:28: note: \r\n      'uint64_t' declared here\r\ntypedef unsigned long long uint64_t;\r\n                           ^\r\nWhile building module 'Darwin' imported from /Users/pasin/Git/couchbase/couchbase-lite-libsqlcipher/src/c/sqlite3.c:242:\r\nIn file included from <module-includes>:3:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/copyfile.h:36:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.0.2/include/stdint.h:63:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/stdint.h:52:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:68:9: error: \r\n      unknown type name '__darwin_natural_t'\r\ntypedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:70:9: error: \r\n      unknown type name '__uint16_t'\r\ntypedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:71:9: error: \r\n      unknown type name '__int64_t'\r\ntypedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:72:9: error: \r\n      unknown type name '__int32_t'\r\ntypedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:73:9: error: \r\n      unknown type name '__uint32_t'\r\ntypedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:74:9: error: \r\n      unknown type name '__int32_t'\r\ntypedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:75:9: error: \r\n      unknown type name '__uint32_t'\r\ntypedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */\r\n        ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/include/sys/_types.h:76:9: error: \r\n      unknown type name '__uint32_t'\r\ntypedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */\r\n```\r\n\r\n"}}