client icon indicating copy to clipboard operation
client copied to clipboard

iOS build failure: unable to open configuration file

Open maxer4192 opened this issue 2 years ago • 1 comments

The app does not actually build. The virtual device is created, but it stops at a Pods error. Log is below.

max@MBP fosscord-client-master % yarn run
yarn run v1.22.19
warning package.json: "dependencies" has dependency "babel-loader" with range "8.1.0" that collides with a dependency in "devDependencies" of the same name with version "^8.2.3"
warning package.json: "dependencies" has dependency "eslint" with range "^7.11.0" that collides with a dependency in "devDependencies" of the same name with version "^7.32.0"
warning package.json: "dependencies" has dependency "jest" with range "26.6.0" that collides with a dependency in "devDependencies" of the same name with version "^27.3.1"
info Commands available from binary scripts: acorn, ansi-html, atob, autoprefixer, babel, babel-external-helpers, babel-node, babylon, browserslist, btoa, color-support, cross-env, cross-env-shell, css-blank-pseudo, css-has-pseudo, css-prefers-color-scheme, cssesc, detect, detect-libc, detect-port, envinfo, errno, escodegen, esgenerate, eslint, eslint-config-prettier-check, esparse, esvalidate, flowgen, he, html-minifier-terser, image-size, import-local-fixture, is-ci, is-docker, jake, jest, jest-runtime, jetifier, jetifier-standalone, jetify, js-yaml, jscodeshift, jsesc, json5, logkitty, loose-envify, metro, metro-inspector-proxy, metro-symbolicate, miller-rabin, mime, mkdirp, multicast-dns, mustache, nanoid, needle, node-gyp, node-pre-gyp, node-sass, nopt, npm-run-all, parser, patch-package, pidtree, prettier, rc, react-native, react-native-bundle-visualizer, react-native-macos, recursive-copy, recursive-delete, regjsparser, rimraf, rollup, run-p, run-s, sane, sassgraph, semver, sha.js, shjs, sme, source-map-explorer, sshpk-conv, sshpk-sign, sshpk-verify, svgo, terser, tsc, tsserver, uglifyjs, uuid, vm2, watch, webpack, webpack-cli, webpack-dev-server, which
info Project commands
   - android
      react-native run-android
   - build:theme
      node-sass src/assets/themes/fosscord.scss --output src/assets/themes
   - build:web
      node scripts/build.js
   - bundler
      react-native start
   - ios
      react-native run-ios
   - linux
      webpack --mode=development 
   - postinstall
      patch-package
   - start
      node scripts/bundler.js
   - watch:theme
      node-sass src/assets/themes/fosscord.scss --watch --output src/assets/themes
   - web
      node scripts/start.js
   - webpackRun
      babel-node dist/index.out.js
   - windows
      react-native run-windows
question Which command would you like to run?: ios
$ react-native run-ios
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: 
  - @react-native-async-storage/async-storage (to unlink run: "react-native unlink @react-native-async-storage/async-storage")
  - react-native-code-push (to unlink run: "react-native unlink react-native-code-push")
  - react-native-gesture-handler (to unlink run: "react-native unlink react-native-gesture-handler")
  - react-native-haptic-feedback (to unlink run: "react-native unlink react-native-haptic-feedback")
  - react-native-safe-area-context (to unlink run: "react-native unlink react-native-safe-area-context")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
info Found Xcode workspace "fosscord.xcworkspace"
info Launching iPhone 13 (iOS 16.0)
info Building (using "xcodebuild -workspace fosscord.xcworkspace -configuration Debug -scheme fosscord -destination id=9F075791-105F-4DA1-946D-3EA5370E5CCE")
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening fosscord.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace fosscord.xcworkspace -configuration Debug -scheme fosscord -destination id=9F075791-105F-4DA1-946D-3EA5370E5CCE

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Prepare packages

Computing target dependency graph and provisioning inputs

Create build description
Build description signature: 1e1e6ff77ce2d2523d3acfa94712ef46
Build description path: /Users/max/Library/Developer/Xcode/DerivedData/fosscord-cvrcombdpcinqxdazysdcbovonyl/Build/Intermediates.noindex/XCBuildData/1e1e6ff77ce2d2523d3acfa94712ef46-desc.xcbuild

note: Building targets in dependency order
/Users/max/Downloads/fosscord-client-master/ios/Pods/Target Support Files/Pods-fosscord/Pods-fosscord.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/max/Downloads/fosscord-client-master/ios/Pods/Target Support Files/Pods-fosscord/Pods-fosscord.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/max/Downloads/fosscord-client-master/ios/Pods/Target Support Files/Pods-fosscord/Pods-fosscord.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/max/Downloads/fosscord-client-master/ios/Pods/Target Support Files/Pods-fosscord/Pods-fosscord.debug.xcconfig:1:1: error: unable to open configuration settings file
warning: Unable to read contents of XCFileList '/Target Support Files/Pods-fosscord/Pods-fosscord-resources-Debug-output-files.xcfilelist' (in target 'fosscord' from project 'fosscord')
warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'fosscord' from project 'fosscord')
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'fosscord' from project 'fosscord')
error: Unable to load contents of file list: '/Target Support Files/Pods-fosscord/Pods-fosscord-resources-Debug-input-files.xcfilelist' (in target 'fosscord' from project 'fosscord')
error: Unable to load contents of file list: '/Target Support Files/Pods-fosscord/Pods-fosscord-resources-Debug-output-files.xcfilelist' (in target 'fosscord' from project 'fosscord')
warning: Run script build phase '[CP] Copy Pods Resources' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'fosscord' from project 'fosscord')

** BUILD FAILED **


info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

maxer4192 avatar Sep 21 '22 19:09 maxer4192

Client doesn’t really have any functionality, it’s the same as https://app.fosscord.com so there’s not much point in trying to build it.

Puyodead1 avatar Sep 22 '22 20:09 Puyodead1