Post

Replies

Boosts

Views

Activity

XCode 15.01 and iOS 17 Build Failure - React native applicaton
When I download iOS 17 simulator, install it, and try to build, my macbook pro i5 will restart in the middle of the build. After re-opening xcode, this strange bug appears. XCode asks me to download iOS 17 again, while saying it is already downloaded in the platforms as a duplicate version. I have to delete the existing iOS17 simulator from disk to redownload it again. When running build Documentation, I am met with varying errors of glog, fmt, abseil, and librarydb having extractAPI unable to find import header errors. I have tried resetting my cocoapods to a previously compatible version of 1.13.0 and ruby 3.1.2. I have tried updating my whole system to use the newest version of cocoapods 1.14.3 and ruby 3.2.2. Podfile: require File.join(File.dirname(node --print "require.resolve('expo/package.json')"), "scripts/autolinking") require File.join(File.dirname(node --print "require.resolve('react-native/package.json')"), "scripts/react_native_pods") require File.join(File.dirname(node --print "require.resolve('@react-native-community/cli-platform-ios/package.json')"), "native_modules") $RNFirebaseAsStaticFramework = true podfile_properties = JSON.parse(File.read(File.join(dir, 'Podfile.properties.json'))) rescue {} ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0' ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR'] platform :ios, podfile_properties['ios.deploymentTarget'] || '13.0' install! 'cocoapods', :deterministic_uuids => false prepare_react_native_project! flipper_config = FlipperConfiguration.disabled if ENV['NO_FLIPPER'] == '1' then flipper_config = FlipperConfiguration.disabled elsif podfile_properties.key?('ios.flipper') then if podfile_properties['ios.flipper'] == 'true' then flipper_config = FlipperConfiguration.enabled(["Debug", "Release"]) elsif podfile_properties['ios.flipper'] != 'false' then flipper_config = FlipperConfiguration.enabled(["Debug", "Release"], { 'Flipper' => podfile_properties['ios.flipper'] }) end end target 'Popper' do use_expo_modules! config = use_native_modules! use_frameworks! :linkage => :static use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS'] flags = get_default_flags() use_react_native!( :path => config[:reactNativePath], :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes', :fabric_enabled => flags[:fabric_enabled], :app_path => "#{Pod::Config.instance.installation_root}/..", :flipper_configuration => flipper_config ) post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17' end installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '17.0' end end end post_integrate do |installer| begin expo_patch_react_imports!(installer) rescue => e Pod::UI.warn e end end end NPM -v : 8.19.2 yarn -v : 1.22.19 Package.json: { "name": "popper", "version": "1.0.0", "main": "index.js", "scripts": { "start": "expo start --dev-client", "android": "expo run:android", "ios": "expo run:ios", "web": "expo start --web" }, "dependencies": { "@expo/react-native-action-sheet": "^4.0.1", "@invertase/react-native-apple-authentication": "^2.2.2", "@react-native-async-storage/async-storage": "1.18.2", "@react-native-camera-roll/camera-roll": "^5.2.4", "@react-native-clipboard/clipboard": "^1.11.2", "@react-native-community/blur": "^4.3.2", "@react-native-community/cli-platform-android": "^11.3.3", "@react-native-community/netinfo": "9.3.10", "@react-native-firebase/app": "^18.5.0", "@react-native-firebase/auth": "^18.5.0", "@react-native-firebase/firestore": "^18.5.0", "@react-native-firebase/functions": "^18.5.0", "@react-native-firebase/storage": "^18.5.0", "@react-native-google-signin/google-signin": "^8.2.2", "@react-native-masked-view/masked-view": "^0.3.0", "@react-navigation/bottom-tabs": "^6.5.3", "@react-navigation/material-top-tabs": "^6.5.2", "@react-navigation/native": "^6.1.6", "@react-navigation/native-stack": "^6.9.8", "@react-navigation/stack": "^6.3.16", "@stream-io/flat-list-mvcp": "^0.10.2", "assert": "^1.1.1", "axios": "^1.4.0", "buffer": "^4.9.1", "date-fns": "^2.29.3", "deprecated-react-native-prop-types": "^4.0.0", "events": "^1.0.0", "expo": "^49.0.0", "expo-blur": "~12.4.1", "expo-image-picker": "~14.3.2", "expo-linear-gradient": "~12.3.0", "expo-splash-screen": "~0.20.5", "expo-status-bar": "~1.6.0", "font-awesome": "^4.7.0", "getstream": "^8.1.2", "jwt-decode": "^3.1.2", "lottie-react-native": "5.1.6", "moment": "^2.29.4", "punycode": "^1.2.4", "radio-buttons-react-native": "^1.0.4", "react": "18.2.0", "react-native": "0.72.5", "react-native-app": "^1.0.0", "react-navigation": "^4.4.4", "readable-stream": "1.0.33", "stream-chat": "^8.4.1", "stream-chat-react-native": "^5.11.2", "string_decoder": "~0.10.25", "url": "~0.10.1" }, "devDependencies": { "@babel/core": "7.20.2", "@babel/preset-env": "^7.20.2", "@babel/runtime": "^7.20.0", "@react-native/eslint-config": "0.72.2", "@react-native/metro-config": "0.72.11", "@tsconfig/react-native": "3.0.0", "rn-nodeify": "github:tradle/rn-nodeify" }, "osDependencies": { "darwin": { "cocoapods": "^0.0.0" } }, "resolutions": { "react-native-reanimated": "3.3.0", "expo-linear-gradient": "~12.3.0" }, "private": true, "description": "", "repository": { "type": "git", "url": "git+https://github.com/MattNic2/Popper.git" }, "author": "", "license": "ISC", "bugs": { "url": "https://github.com/MattNic2/Popper/issues" }, "homepage": "https://github.com/MattNic2/Popper#readme" }
0
0
1.3k
Nov ’23