{"action":"closed","issue":{"url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/31","repository_url":"https://api.github.com/repos/radarlabs/react-native-radar","labels_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/31/comments","events_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/31/events","html_url":"https://github.com/radarlabs/react-native-radar/issues/31","id":344582124,"node_id":"MDU6SXNzdWUzNDQ1ODIxMjQ=","number":31,"title":"Build failing on new version 2.0.0","user":{"login":"ntomallen","id":6265975,"node_id":"MDQ6VXNlcjYyNjU5NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/6265975?v=4","gravatar_id":"","url":"https://api.github.com/users/ntomallen","html_url":"https://github.com/ntomallen","followers_url":"https://api.github.com/users/ntomallen/followers","following_url":"https://api.github.com/users/ntomallen/following{/other_user}","gists_url":"https://api.github.com/users/ntomallen/gists{/gist_id}","starred_url":"https://api.github.com/users/ntomallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntomallen/subscriptions","organizations_url":"https://api.github.com/users/ntomallen/orgs","repos_url":"https://api.github.com/users/ntomallen/repos","events_url":"https://api.github.com/users/ntomallen/events{/privacy}","received_events_url":"https://api.github.com/users/ntomallen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-07-25T19:48:18Z","updated_at":"2018-08-06T15:55:05Z","closed_at":"2018-08-06T15:55:04Z","author_association":"CONTRIBUTOR","body":"After updating `react-native-radar` to version 2.0, I've been getting some strange build errors:\r\n\r\n```\r\nWhile building module 'Foundation' imported from ../../../ios/Pods/Headers/Public/RadarSDK/RadarSDK/RadarSDK.h:8:\r\nWhile building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:\r\nIn file included from <module-includes>:1:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:43:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72:\r\nIn file included from ../../../ios/Pods/leveldb-library/table/Block.h:10:\r\nIn file included from ../../../ios/Pods/leveldb-library/include/leveldb/iterator.h:18:\r\n../../../ios/Pods/leveldb-library/include/leveldb/slice.h:21:10: fatal error: 'string' file not found\r\n#include <string>\r\n         ^~~~~~~~\r\n1 error generated.\r\nWhile building module 'Foundation' imported from ../../../ios/Pods/Headers/Public/RadarSDK/RadarSDK/RadarSDK.h:8:\r\nIn file included from <module-includes>:1:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error: could not build module 'CoreFoundation'\r\n#include <CoreFoundation/CoreFoundation.h>\r\n ~~~~~~~~^\r\nWhile building module 'Foundation' imported from ../../../ios/Pods/Headers/Public/RadarSDK/RadarSDK/RadarSDK.h:8:\r\nWhile building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:\r\nIn file included from <module-includes>:1:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:28:10: fatal error: could not build module 'CoreFoundation'\r\n#include <CoreFoundation/CFBase.h>\r\n ~~~~~~~~^\r\n1 error generated.\r\nWhile building module 'Foundation' imported from ../../../ios/Pods/Headers/Public/RadarSDK/RadarSDK/RadarSDK.h:8:\r\nWhile building module 'CFNetwork' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:9:\r\nIn file included from <module-includes>:1:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:18:10: fatal error: could not build module 'CoreFoundation'\r\n#include <CoreFoundation/CoreFoundation.h>\r\n ~~~~~~~~^\r\n1 error generated.\r\n4 errors generated.\r\nIn file included from /Users/ntomallen/source/zonder-mobile-app/node_modules/react-native-radar/ios/RNRadar.m:1:\r\nIn file included from /Users/ntomallen/source/zonder-mobile-app/node_modules/react-native-radar/ios/RNRadar.h:1:\r\n../../../ios/Pods/Headers/Public/RadarSDK/RadarSDK/RadarSDK.h:8:9: fatal error: could not build module 'Foundation'\r\n#import \"Foundation/Foundation.h\"\r\n ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~\r\nWhile building module 'CoreLocation' imported from ../../../ios/Pods/Headers/Public/RadarSDK/RadarSDK/Radar.h:8:\r\nIn file included from <module-includes>:1:\r\nIn file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h:18:\r\n/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLErrorDomain.h:9:9: fatal error: could not build module 'Foundation'\r\n#import <Foundation/Foundation.h>\r\n ~~~~~~~^\r\n1 error generated.\r\n\r\n\r\n\r\n** BUILD FAILED **\r\n```\r\nI also followed the migration instructions for updating the iOS and Android modules as well. Everything seems to be working correctly on Android.\r\n\r\nI've also been researching this error, and I none of the suggested solutions for this error worked."}}
{"actor":{"display_login":"coolbrow"}}