Installing Spritebuilder from source - github

I am trying to install spritebuilder but since it is no longer on the app store I have to do it through github. I ran the following code from the readme file on github.
git clone https://github.com/apportable/SpriteBuilder
cd SpriteBuilder
git submodule update --init --recursive
cd scripts
./build_distribution.py --version 1.x
but it keeps returning the error:
Testing failed:
Error: There is no SDK with the name or path '/Users/username/SpriteBuilder/scripts/SpriteBuilder/SpriteBuilder/macosx10.9'
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Am I doing something wrong? I went into the build folder despite the error and the .app is not able to be opened, saying it may be incomplete or corrupt.

I found a workaround by downloading Spritebuilder from a mirror hosting site.

Related

Pytest Github Action failed in Django REST API project

I have updated my workflow action from simple super-linter to PYTEST. I get the following error in github
Run pipenv install --deploy --dev
ERROR: Pipfile not found! Aborting! Please ensure that the file exists and is located in your project root directory.
Error: Process completed with exit code 1.
Super linter is really lazy and fails unnecessarily even if the code is correctly formatted?
I have not added any file in my project? Do I need to?

How to generate C API for onnxruntime on Linux

I am trying to build onnxruntime from source on Linux. According to this instruction I have successfully built python wheels and shared libs. But I have not seen headers for C API.
There is a build option --build_csharp which seems to enable C#/C packages. I tried to add this option but got following errors.
CMake Warning at CMakeLists.txt:137 (message):
Language Csharp is not found in the system
I installed dotnet-sdk-3.1 but still got this error. Can I ask how to properly generate onnxruntime C API on Linux? Thanks!
Please try the following steps:
- Steps to build ONNX from source code:
1. git clone --recursive https://github.com/Microsoft/onnxruntime
2. Get the commit ID of the version you want to build (In case you want older version)
3. git checkout "your commitID"
4. Install the required version of Cmake on your system
6. Run: <path>\build.sh --config Release --build_shared_lib --parallel
7. A build folder will be created in the onnxruntime.
5. Get the onnxruntime.dll from the dir: \onnxruntime\build\Windows\Release\Release
6. Get the required headers (onnxruntime_c_api.h, onnxruntime_cxx_api.h, onnxruntime_cxx_inline.h)
from the dir: \onnxruntime\include\onnxruntime\core\session and put it in the unit location.

Codemagic or Fastlane failing while exporting archive for iOS in Flutter projects

Problem
For flutter projects when trying to do CI via Fastlane or Code magic getting an error.
Error(s)
Unable to export archive: 2019-07-19 06:35:19.256
xcodebuild[3381:21183] [MT] IDEDistribution: -[IDEDistributionLogging
_createLoggingBundleAtPath:]: Created bundle at path '/var/folders/r7/d9twdq011sb8d3q1p8f39cdr0000gn/T/Runner_2019-07-19_06-35-19.252.xcdistributionlogs'.
error: exportArchive: Symbols tool failed Error
Domain=IDEFoundationErrorDomain Code=1 "Symbols tool failed"
UserInfo={NSLocalizedDescription=Symbols tool failed} ** EXPORT FAILED
**
Some Extra Detail(s)
This issue is coming with recent master commits in Flutter git.
When using Flutter stable git branch we don't have this issue.
Had the same issue. Running pod install solved on my side. I'm using local Fastlane on flutter beta channel.

Why do i get this error message when trying to add a new framework using carthage?

I want to add a FrameWork to this app I'm working on. It converts latitude and longitude coordinates to UTM coordinates.
I added this to the cartfile:
github "peterringset/UTMConversion" ~> 1.1
But when i run this code in the terminal to clone the framework:
carthage update --platform iOS
I get this error message:
A shell task (/usr/bin/env git clone --bare --quiet https://github.com/peterringset/UTMConversion.git /Users/Fallet/Library/Caches/org.carthage.CarthageKit/dependencies/UTMConversion) failed with exit code 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
I've used other external frameworks like this, and it used to work just fine.. Any idea how I can fix this?
The problem occurs due to a change in username by the publisher of his GitHub account. If you notice the link to the repository is https://github.com/wtw-software/UTMConversion while the Carthage reference is "peterringset/UTMConversion". I was able to solve it by changing the Carthage reference to "wtw-software/UTMConversion". But then you will get this error if you are on Swift 3 or below and Xcode 8 or below.
Task failed with exit code 65.....This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details
So I digged into the logs and found this:
Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
** BUILD FAILED **
I googled around this error and it looks like the project is developed with Swift 4 and with Xcode 9.

IOS error compiling source code?

I downloaded a source code for an iOS coloring book from github :
When I try to compile I get these errors, and I don't understand what they mean:
0 clang 0x0000000100c57bb2 main + 12932498
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: i386-apple-darwin11.4.2
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.
clang: error: unable to execute command: Segmentation fault: 11
clang: note: diagnostic msg: Error generating preprocessed source(s).
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 254
Did you follow the instructions? I tried to build it after just cloning the primary directory, got lots of problems, then re-read the Instructions and found this:
INSTRUCTIONS
Clone the coloring-book-ios repository, or alternatively, clone
your fork of the coloring-book-ios repository, along with its
submodules.
For git version 1.6.5 or higher, run:
git clone --recursive https://github.com/byronsanchez/coloring-book-ios.git
cd coloring-book-ios
Assets/Scripts/build.sh all
For other versions of git, run:
git clone https://github.com/byronsanchez/coloring-book-ios.git
cd coloring-book-ios
git submodule update --init
Assets/Scripts/build.sh all
Once I followed the 1.6.5 or higher (and ignored the build.sh warning as it instructions you to do in that file) everything built just fine using Xcode 4.6.3.
It's because the project references Toast+UIView.h but doesn't contain that category at the root level. NIBs, Raw, and Vendor are submodules of the main project.