Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help on building this app #335

Closed
CaledoniaProject opened this issue Mar 31, 2023 · 2 comments
Closed

Need help on building this app #335

CaledoniaProject opened this issue Mar 31, 2023 · 2 comments

Comments

@CaledoniaProject
Copy link

I followed the readme and installed the pods and copied the configuration files, but I'm still unable to build it

%> xcodebuild
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Resolve Package Graph

Resolved source packages:
  TunnelKit: https://github.com/passepartoutvpn/tunnelkit @ 4.1.0
  SwiftyBeaver: https://github.com/SwiftyBeaver/SwiftyBeaver @ 1.9.6
  openssl-apple: https://github.com/passepartoutvpn/openssl-apple @ 1.1.11700
  WireGuardKit: https://git.zx2c4.com/wireguard-apple @ 23618f9


Computing target dependency graph and provisioning inputs

Create build description
Build description signature: 25969ce7fbb3be33b6183114a2244b4c
Build description path: /whatever/ios-app-develop/build/XCBuildData/25969ce7fbb3be33b6183114a2244b4c-desc.xcbuild

warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
/whatever/ios-app-develop/IVPNClient.xcodeproj: error: No profiles for 'net.ivpn.clients.ios.today-extension' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'net.ivpn.clients.ios.today-extension'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'today-extension' from project 'IVPNClient')
/whatever/ios-app-develop/IVPNClient.xcodeproj: error: No profiles for 'net.ivpn.clients.ios.openvpn-tunnel-provider' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'net.ivpn.clients.ios.openvpn-tunnel-provider'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'openvpn-tunnel-provider' from project 'IVPNClient')
/whatever/ios-app-develop/IVPNClient.xcodeproj: error: No profiles for 'net.ivpn.clients.ios' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'net.ivpn.clients.ios'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'IVPNClient' from project 'IVPNClient')
warning: Run script build phase 'Fetch servers.json' 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 'IVPNClient' from project 'IVPNClient')
/whatever/ios-app-develop/IVPNClient.xcodeproj: error: No profiles for 'net.ivpn.clients.ios.wireguard-tunnel-provider' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'net.ivpn.clients.ios.wireguard-tunnel-provider'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'wireguard-tunnel-provider' from project 'IVPNClient')

Any suggestions?

@jurajhilje
Copy link
Member

jurajhilje commented Mar 31, 2023

I suggest you checkout the task/spm-dependencies branch, which will be merged soon.
There were issues with the last few minor versions of Xcode, so we are going to migrate from CocoaPods to SPM for installing dependencies.

I see net.ivpn.clients.ios etc. in your logs. You will need to change it to your own on Bundle IDs.

If you want to build using the iOS Simulator, I suggest check out this PR.

@CaledoniaProject
Copy link
Author

@jurajhilje Is there a complete guide on building this app? The same branch still fails and the PR does not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants