Error signing an ios app with trigger.io - trigger.io

I get the following error when trying to run an ios app with trigger.io (on windows)
[ERROR] Failed when running C:\Users\\*\.lib\win-ios-install.exe: Installing c:\users\\*\appdata\local\temp\tmpx8ahhx to: 83d9adbf9f921920918cec34e93cbacddd1f17a3
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - Error occured: ApplicationVerificationFailed
I have followed the instrutions from ios setup to the t. Any idea what could be the issue?

Related

Bundle install gives LoadError

I'm trying to install Canvas LMS. As I'm doing the production start for installing bundler and canvas dependencies I first run
sudo gem install bundler --version 2.2.19 --default
which executes successfully. Then I run
bundle _2.2.19_ install --path vendor/bundle
which gives the following error:
Traceback (most recent call last):
1: from /usr/local/bin/bundle:23:in `<main>'
/usr/local/bin/bundle:23:in `load': cannot load such file -- /usr/lib/ruby/gems/2.7.0/gems/bundler-2.2.19/exe/bundle (LoadError)
Here is what I get when I run gem env:
RubyGems Environment:
- RUBYGEMS VERSION: 3.1.2
- RUBY VERSION: 2.7.5 (2021-11-24 patchlevel 203) [x86_64-linux-gnu]
- INSTALLATION DIRECTORY: /var/lib/gems/2.7.0
- USER INSTALLATION DIRECTORY: /home/sam/.gem/ruby/2.7.0
- RUBY EXECUTABLE: /usr/bin/ruby2.7
- GIT EXECUTABLE: /usr/bin/git
- EXECUTABLE DIRECTORY: /usr/local/bin
- SPEC CACHE DIRECTORY: /home/sam/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /var/lib/gems/2.7.0
- /home/sam/.gem/ruby/2.7.0
- /usr/lib/ruby/gems/2.7.0
- /usr/share/rubygems-integration/2.7.0
- /usr/share/rubygems-integration/all
- /usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /home/sam/.nvm/versions/node/v16.16.0/bin
- /usr/local/sbin
- /usr/local/bin
- /usr/sbin
- /usr/bin
- /sbin
- /bin
- /usr/games
- /usr/local/games
And running bundler -v gives me this result:
Bundler version 2.3.25
I'd appreciate any help to solve this load error.
Yep. I ran into the exact same issue but was able to fix with the below
sudo gem install bundler -v '2.2.19'
then
bundle _2.2.19_ install --path vendor/bundle
and was able to complete the installation successfully.
You may likely get an error at the end
An error occurred while installing idn-ruby (0.1.4), and Bundler cannot continue. Make sure that gem install idn-ruby -v '0.1.4'--source 'https://rubygems.org/' succeeds before bundling.
You can fix that by following the steps here
sudo apt-get install libldap2-dev libidn11-dev

Pod Install: Ignoring ffi-1.13.1 because its extensions are not built. Try: gem pristine ffi --version 1.13.1

I tried running pod install in my Xcode project, but got the following error
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'ffi' (>= 1.3.0) among 84 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/Users/dylan/.gem/ruby/2.6.0:/Library/Ruby/Gems/2.6.0:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0', execute `gem env` for more information
When I ran gem env, I got
RubyGems Environment:
- RUBYGEMS VERSION: 3.0.3
- RUBY VERSION: 2.6.3 (2019-04-16 patchlevel 62) [universal.x86_64-darwin20]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/2.6.0
- USER INSTALLATION DIRECTORY: /Users/dylan/.gem/ruby/2.6.0
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
- GIT EXECUTABLE: /usr/bin/git
- EXECUTABLE DIRECTORY: /usr/local/bin
- SPEC CACHE DIRECTORY: /Users/dylan/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /Library/Ruby/Site
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-20
- GEM PATHS:
- /Library/Ruby/Gems/2.6.0
- /Users/dylan/.gem/ruby/2.6.0
- /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin
- /Library/Apple/usr/bin
Everything was working before, one thing I did recently was updating Xcode to 12.3 and Big Sur. Not sure everyone else has this issue.
Got the same problem after updating to Big Sur
Reinstalling cocoapods works for me
gem install cocoapods
If you got the following error,
You might have to install separate package for the ruby development
environment, ruby-dev or ruby-devel for example.
install this
xcode-select --install
xcode-select --install
This is worked for me, before updating your pod please run the above line, then use your pod update or install

ideviceinstaller -i returns Segmentation fault: 11

I'm using vscode to write react native app and want to debug it on iOS device. So i installed the ideviceinstaller using "brew install ideviceinstaller" and changed the target to "device" in lanuch.json. But the following error occured:
[Error] "Could not debug. Error while executing command 'ideviceinstaller -i /Users/leon/Desktop/AwesomApp/ios/build/Build/Products/Debug-iphoneos/AwesomApp.app': Error while executing command 'ideviceinstaller -i /Users/leon/Desktop/AwesomApp/ios/build/Build/Products/Debug-iphoneos/AwesomApp.app'"
then I run
ideviceinstaller -i /Users/leon/Desktop/AwesomApp/ios/build/Build/Products/Debug-iphoneos/AwesomApp.app
in the console and get the following output:
Uploading AwesomApp.app package contents... DONE.
Installing '(null)'
- CreatingStagingDirectory (5%)
- ExtractingPackage (15%)
- InspectingPackage (20%)
- TakingInstallLock (20%)
- PreflightingApplication (30%)
- InstallingEmbeddedProfile (30%)
- VerifyingApplication (40%)
- CreatingContainer (50%)
- InstallingApplication (60%)
- PostflightingApplication (70%)
- SandboxingApplication (80%)
- GeneratingApplicationMap (90%)
Segmentation fault: 11
I google it, and some other guys meet the same issue, and they solved it by reinstalling the lasted homebrew and then reinstalling the ideviceinstaller. But it does't work for me.
So, anyone can help?

You have held broken packages - Postgres gem for rails

So when ever I attempt to do bundle install I am told to make sure the pg gem is installed successfully, so when I do the gem install pg vx.xx I get:
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/home/adam/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
So then I do:
sudo apt-get install libpq-dev
But I get
The following packages have unmet dependencies:
libpq-dev : Depends: libpq5 (= 9.1.14-0ubuntu0.12.04) but 9.3.5-1.pgdg12.4+1 is to be installed
E: Unable to correct problems, you have held broken packages.
So I have 9.1 of everything else installed from postgres and pgadmin, and I have any 9.3 repos disabled. I have done a sudo apt-get update but I think the error is pretty obvious. So How do I make it not try and install 9.3.5 .... and go with 9.1.14?
I've just run into this very problem. I found the solution here: http://blog.andrewbeacock.com/2007/03/how-to-install-specific-version-of.html
Essentially:
$: apt-get install libpq5=9.1.14-0ubuntu0.12.04
$: apt-get install libpq-dev=9.1.14-0ubuntu0.12.04
$: apt-get install postgresql-server-dev-9.1
I got the same issue, after trying multiple solutions my problem
The following packages have unmet dependencies:
but it is not going to be installed
Depends: libwxbase3.0-0v5 (>= 3.0.4+dfsg)
but it is not installable
Depends: ```libwxgtk3.0-0v5 (>= 3.0.4+dfsg)
but it is not installable
E: Unable to correct problems, you have held broken packages.
The above resolved by uninstalling Postgresql and pgAdmin and downloading it from the official website
https://www.postgresql.org/
https://www.pgadmin.org/download/pgadmin-4-apt/

Trigger.io Forge Toolkit - Error running iOS app on iPhone device from Windows 7

I'm building an iOS app on Windows (yes I know it wasn't meant to be!) with Trigger.io Forge Toolkit.
I an doing 'run iOS' with an iPhone 4 connected by USB. The app builds fine, but the fails after transfering to the device. The app is actually on the device, and runs from the homescreen - but Trigger Toolkit is unable to launch the app itself.
As such, I am not able to see any trigger debugging info when I launch the app on the phone (manually, from the homescreen).
[INFO] ERROR: instproxy_browse returned -3
[ERROR] Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpc1pvje to: 2f5ffa12b4567865f96821745a2295b4fc5d67e5
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
ERROR: instproxy_browse returned -3
[DEBUG] Traceback (most recent call last):
File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\async.py", line 96, in run
result = self._target(*self._args, **self._kwargs)
File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\trigger\api\app.py", line 286, in run
forge_main.run(['--general.interactive', 'no'])
File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\main.py", line 437, in run
build_to_run=build_to_run,
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\customer_goals.py", line 125, in run_app
build_to_run.run()
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 337, in run
self._call_with_params(task_method, task_args)
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 296, in _call_with_params
return method(self, *params)
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 626, in run_ios
certificate_password=certificate_password,
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 563, in run_idevice
run_shell(*win_ios_install, fail_silently=False, command_log_level=logging.INFO, check_for_interrupt=True)
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\utils.py", line 346, in run_shell
output=state.output.getvalue()
ShellError: Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpc1pvje to: 2f5ffa12b4567865f96821745a2295b4fc5d67e5
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
ERROR: instproxy_browse returned -3
I tried running on an iPhone 3GS and got the same behaviour, but a slightly different error:
[INFO] Installing c:\users\strachan\appdata\local\temp\tmpyg1vs5 to: d6aa150bf9695ce041b37215adb5d6b70f9d6bf4
[INFO] Install - CreatingStagingDirectory (5%)
[INFO] Install - ExtractingPackage (15%)
[INFO] Install - InspectingPackage (20%)
[INFO] Install - TakingInstallLock (20%)
[INFO] Install - PreflightingApplication (30%)
[INFO] Install - InstallingEmbeddedProfile (30%)
[INFO] Install - VerifyingApplication (40%)
[INFO] Install - CreatingContainer (50%)
[INFO] Install - InstallingApplication (60%)
[INFO] Install - PostflightingApplication (70%)
[INFO] Install - SandboxingApplication (80%)
[INFO] Install - GeneratingApplicationMap (90%)
[INFO] Install - Complete
[INFO] Launching - /private/var/mobile/Applications/5CC01B44-FC0C-474C-8511-57DA33815625/device-ios.app
[INFO] Could not start com.apple.debugserver!
[ERROR] Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpyg1vs5 to: d6aa150bf9695ce041b37215adb5d6b70f9d6bf4
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
Launching - /private/var/mobile/Applications/5CC01B44-FC0C-474C-8511-57DA33815625/device-ios.app
Could not start com.apple.debugserver!
[DEBUG] Traceback (most recent call last):
File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\async.py", line 96, in run
result = self._target(*self._args, **self._kwargs)
File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\trigger\api\app.py", line 286, in run
forge_main.run(['--general.interactive', 'no'])
File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\main.py", line 437, in run
build_to_run=build_to_run,
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\customer_goals.py", line 125, in run_app
build_to_run.run()
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 337, in run
self._call_with_params(task_method, task_args)
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 296, in _call_with_params
return method(self, *params)
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 626, in run_ios
certificate_password=certificate_password,
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 563, in run_idevice
run_shell(*win_ios_install, fail_silently=False, command_log_level=logging.INFO, check_for_interrupt=True)
File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\utils.py", line 346, in run_shell
output=state.output.getvalue()
ShellError: Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpyg1vs5 to: d6aa150bf9695ce041b37215adb5d6b70f9d6bf4
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
Launching - /private/var/mobile/Applications/5CC01B44-FC0C-474C-8511-57DA33815625/device-ios.app
Could not start com.apple.debugserver!
Has the device ever been enabled for development on an OS X machine?
We recently discovered that when Xcode first uses the device, it updates the device to enable remote tailing of logs.
Without doing this, although you'll be able to install apps no problem, you'll need something like the iPhone Configuration Utility to view logs (http://support.apple.com/downloads/#iphone).

Resources