Cocoapod - Command /bin/sh failed with exit code 23 - objective-c

I recently uploaded a new cocoapod of mine, and I was trying to test it. But when I opened up .xcworkspace and ran it...I got an error:
".../APMultiMenu.bundle" failed: No such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
Command /bin/sh failed with exit code 23
Also I noticed in my Products folder (under Pods), it says there is a file APMultiMenu.bundle, but it is red so it is missing. But what I dont understand is why the .bundle file is even there, because it should not be there? Can someone help

Related

What gives Hyperledger fabric a ssl legitimacy error when I use -k/--insecure?

I'm trying to install the binaries for Hyperledger fabric but I run into an error.
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
I do know this means i need to put -k or --insecure in the curl statment. However I am doing so and it doesn't work.
curl --insecure -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s 2.3.0 1.4.9
when I run this the first half is fine, the hyperledger/fabric-samples repo clone will succeed.
Here is the entire output
\Clone hyperledger/fabric-samples repo
===> Cloning hyperledger/fabric-samples repo
Cloning into 'fabric-samples'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 7386 (delta 2), reused 8 (delta 0), pack-reused 7366
Receiving objects: 100% (7386/7386), 4.26 MiB | 905.00 KiB/s, done.
Resolving deltas: 100% (3823/3823), done.
===> Checking out v2.3.0 of hyperledger/fabric-samples
Pull Hyperledger Fabric binaries
===> Downloading version 2.3.0 platform specific fabric binaries
===> Downloading: https://github.com/hyperledger/fabric/releases/download/v2.3.0/hyperledger-fabric-windows-amd64-2.3.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
==> There was an error downloading the binary file.
------> 2.3.0 platform specific fabric binary is not available to download <----
I am still a student so it could easily be a stupid problem, but I'm really stuck. So please can someone help me?
So, the problem was -k/--insecure was not good enough i had to change it for all connections with :
echo insecure >> ~/.curlrc

How do I install Radare2 on Windows?

I am trying to get Radare2 installed on my Windows machine. I do have Windows Subsystem for Linux up and running if that changes things. I have tried the git technique from their website:
git clone https://github.com/radare/radare2
cd radare2
sys/install.sh
This did strange things depending on what I did. There are some comments headed with the # symbol that explain what's going on.
#-----Here I clone the repo.
PS [*****] C:\Users\*****\AppData\Local\Programs> git clone https://github.com/radare/radare2
Cloning into 'radare2'...
remote: Enumerating objects: 81, done.
remote: Counting objects: 100% (81/81), done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 215078 (delta 27), reused 17 (delta 10), pack-reused 214997
Receiving objects: 100% (215078/215078), 117.53 MiB | 817.00 KiB/s, done.
Resolving deltas: 100% (164658/164658), done.
Updating files: 100% (3934/3934), done.
#-----Here I cd into the new repo and run the install script.
PS [*****] C:\Users\*****\AppData\Local\Programs> cd radare2
#-----This next command opened a new window, which disappeared immediately.
PS [*****] C:\Users\*****\AppData\Local\Programs\radare2> sys/install.sh
#-----Calling bash and passing the script yielded some nice errors.
PS [*****] C:\Users\*****\AppData\Local\Programs\radare2> bash sys/install.sh
sys/install.sh: line 2: $'\r': command not found
: ambiguous redirect 4: 1
sys/install.sh: line 6: $'\r': command not found
sys/install.sh: line 11: syntax error near unexpected token `$'in\r''
'ys/install.sh: line 11: ` case "$1" in
#-----Here I fired up my WSL Ubuntu system and tried to run the script.
PS [*****] C:\Users\*****\AppData\Local\Programs\radare2> wsl
*****#DESKTOP-6L7K90U:/mnt/c/Users/*****/AppData/Local/Programs/radare2$ sys/install.sh
: not found.sh: 2:
sys/install.sh: 5: Syntax error: Bad fd number
*****#DESKTOP-6L7K90U:/mnt/c/Users/*****/AppData/Local/Programs/radare2$
At this point, I decided to try and use the Windows binary instead. I went to the download page and downloaded the windows binary, then unpacked it into my AppData programs folder. I then opened that folder and double-clicked on radare2.exe. This made a quick blip on the taskbar like a window was trying to open, which also immediately closed.
At this point, I suspect errors in the source code for Radare2 are causing it to crash almost immediately. Is this the case? Or do I need to do something different to get this running?
-----Solved-----
I went and experimented a little, including installing to a Linux VM using the git clone method. I have found that the windows binary is the way to go for this. to use it, unpack the downloaded binary, then open CMD/PowerShell in the radare2 directory, then run bin/radare2.exe or bin/r2.bat. You will need to manually add these to the path, though.

Xcode 10 fatal error: lipo: can't open input file

I'm building a static library in objective-c, in Xcode 9 I could build without problem but I'm blocked in Xcode 10.
Initially I had these two problems that I resolved with the answers below
Xcode 10 Error: Multiple commands produce
Xcode 10: unable to attach DB error
Now I have this lipo error, and I already tried the solution of adding arm64 to the valid architecture and build only valid architecture
build settings pictures
** BUILD SUCCEEDED **
fatal error: lipo: can't open input file: /Users/Alex/Library/Developer/Xcode/DerivedData/myNewLibrary-gvpwgkkoffdnkybybgkafnqwepcx/Build/Products/Debug-iphoneos/arm64/myNewLibrary/myNewLibrary (No such file or directory)
Command PhaseScriptExecution failed with a nonzero exit code
Anyone have idea how to resolve ? thanks

generate dsym file error

My build got this error:
GenerateDSYMFile /data/rdm/projects/14060/build/Developer/JietuMac.app.dSYM /data/rdm/projects/14060/build/Developer/JietuMac.app/Contents/MacOS/JietuMac
cd /data/rdm/projects/14060/QQ4Mac/JietuMac
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /data/rdm/projects/14060/build/Developer/JietuMac.app/Contents/MacOS/JietuMac -o /data/rdm/projects/14060/build/Developer/JietuMac.app.dSYM
/Users/rdm/Library/Developer/Xcode/DerivedData/ModuleCache/62N1HANH19UZ/Foundation-IL1BEAVQDALK.pcm: Clang modules are expected to have exactly 1 compile unit.
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 1
I deleted the derivedData, then build succeed. But it needs me to delete the derivedData every time before build.
Does anybody knows how to reset the location? or solve the problem. Thanks very much.

Output project directory cannot be located inside ChilliSource / ...directory already exists

I'm trying to check out Chilli Source but I'm getting errors at first try with cmd. If I make directory there is one error:
C:\ChilliSource-master\ChilliSource-master\Tools>java -jar CSProjectGenerator.jar --projectname gra1 --packagename ab.cdef.gra --output ../gra1 --logginglevel verbose
FATAL: Output project directory '../gra1/gra1/' already exists!
0 Warnings found.
1 Errors found.
If i delete directory there is another error:
C:\ChilliSource-master\ChilliSource-master\Tools>java -jar CSProjectGenerator.jar --projectname gra1 --packagename ab.cdef.gra --output ../gra1 --logginglevel verbose
FATAL: Output project directory '../gra1/gra1/' cannot be located inside Chilli Source.
0 Warnings found.
1 Errors found.
Solution: http://forums.chilli-works.com/t/output-project-directory-cannot-be-located-inside-chillisource-directory-already-exists/29/2
Just some text to make post at least 30 characters.