crushlovely / amaro Goto Github PK
View Code? Open in Web Editor NEWFeatureful iOS Boilerplate
Featureful iOS Boilerplate
Love the project!
any roadmap for bootstraping a swift project? like change appdelegate, assets, storyboard identifier to swift version.
When trying to compile and run the project with the default options, I get this error:
PhaseScriptExecution Crashlytics\ Script /Users/fjordansilva/Library/Developer/Xcode/DerivedData/AmaroTest-dsdunwqxitzwvphcameumeafrebm/Build/Intermediates/AmaroTest.build/Debug_Staging-iphoneos/AmaroTest.build/Script-BDF1758318C3A844008BD9C6.sh
cd /Users/fjordansilva/Proyectos/Connectis/AmaroTest/Amaro/AmaroTest
/bin/sh -c /Users/fjordansilva/Library/Developer/Xcode/DerivedData/AmaroTest-dsdunwqxitzwvphcameumeafrebm/Build/Intermediates/AmaroTest.build/Debug_Staging-iphoneos/AmaroTest.build/Script-BDF1758318C3A844008BD9C6.sh
2014-08-12 13:40:03.194 run[7300:507] Crashlytics.framework/run 1.3.9
2014-08-12 13:40:03.220 run[7300:507]
Crashlytics: dSYM Error
Unable to process AmaroTest.app.dSYM at path /Users/fjordansilva/Library/Developer/Xcode/DerivedData/AmaroTest-dsdunwqxitzwvphcameumeafrebm/Build/Products/Debug_Staging-iphoneos/AmaroTest.app.dSYM
Make sure your project build settings are generating a dSYM file. DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. This could also be a timing issue, make sure the Crashlytics run script build phase is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.
Command /bin/sh failed with exit code 1
report this:
error: Script error: string index out of range
Please report this to https://github.com/crushlovely/Amaro/issues and include the details below.
Traceback (most recent call last):
File "/Users/caoer115/Documents/Projects/DUMMY/Scripts/GenerateStoryboardIDs.py", line 179, in <module>
idList = IDList.fromFile(fn, prefix, needRestorationIDs)
File "/Users/caoer115/Documents/Projects/DUMMY/Scripts/GenerateStoryboardIDs.py", line 92, in fromFile
res._addIds(viewControllerIds, cls.VIEW_CONTROLLER)
File "/Users/caoer115/Documents/Projects/DUMMY/Scripts/GenerateStoryboardIDs.py", line 78, in _addIds
self._addId(id_, type_)
File "/Users/caoer115/Documents/Projects/DUMMY/Scripts/GenerateStoryboardIDs.py", line 73, in _addId
variableName = lib.variableNameForString(id_, self._defaultPrefixes, suffixes)
File "/Users/caoer115/Documents/Projects/DUMMY/Scripts/AmaroLib.py", line 297, in variableNameForString
result = self.smartLowerCase(result)
File "/Users/caoer115/Documents/Projects/DUMMY/Scripts/AmaroLib.py", line 307, in smartLowerCase
return s[0].lower() + s[1:]
IndexError: string index out of range
So the app is called Fabric now, and I'm sure some work will be needed to integrate with it
Not sure if it's Xcode or Yosemite, but it takes far longer than it used to.
While investigating, it would be best to make it not run unless it has to, anyway. That would involve checking if the icons or versions have changed since the last run. Shouldn't be too hard... just stash a file with that info somewhere and check it at the beginning of the script.
MacOS Sierra
Xcode 9.0.1
Amaro requires the default Xcode command line tools to point to Xcode 7.0 or later. Yours point to 9.0.1.
The build script should be updated to take into considerations the way that cocoa pods behave since v 0.34.1 Take a look at this: CocoaPods/CocoaPods#2536
If i let the Organization blank or insert it in lowercase i run in this failure.
___ ___
/\ \ /\__\
/ \ \ / / /
/ /\ \__\ / /__/
\ \ \/__/ & \ \ \
\ \__\ \ \__\
\/__/ \/__/ Amaro v0.3.5
Checking environment... ๐
Repository: git://github.com/crushlovely/Amaro.git
Branch: master
New project name: TestProjekt
Class prefix (optional; 2 or preferably 3 characters): TP
Your name (blank for RealName: Carsten): RealName: Carsten
Organization name (blank for ipol): ipol
-e:789:in `+': no implicit conversion of nil into String (TypeError)
from -e:789:in `block (2 levels) in <main>'
from -e:258:in `[]'
from -e:258:in `run!'
from -e:308:in `block in run_sequence'
from -e:307:in `each'
from -e:307:in `run_sequence'
from -e:827:in `<main>'
I think it's caused by the downcase! method.
Downcases! the contents of str, returning nil if no changes were made.
http://ruby-doc.org/core-2.0/String.html#method-i-downcase-21
Since updating to Xcode 9, badge icons are no longer being created
When a new project is created using Amaro, the git history and the remote is not deleted so for the new project:
Maybe a previous step to "git init" can be to delete the .git folder to remove the entire history, but preserving the submodules ( xcconfigs project ) information.
Initializing submodules and CocoaPods... ๐
Error
Command: pod install --silent
Output:
[!] Unable to satisfy the following requirements:
CocoaLumberjack/Core (~> 1.9.0)
required by Sidecar (0.2.0)
CocoaLumberjack/Core (~> 1.9.0)
required by Sidecar/Non-ARC (0.2.0)
CocoaLumberjack
required by Podfile
CocoaLumberjack/Extensions
required by CocoaLumberjack (1.9.2)
CocoaLumberjack/Core
required by CocoaLumberjack/Extensions (1.9.2)
CocoaLumberjack/Core (= 2.0.0-beta4)
required by CrashlyticsLumberjack (2.0.0-beta4)
Hi! when I started working with my project I changed the app from universal to iPhone, once it was done I decided I would go ahead and build a basic iPad version and re-enabled iPad support. Now when I start the app I get this:
error: Script error: string index out of range
Please report this to https://github.com/crushlovely/Amaro/issues and include the details below.
Traceback (most recent call last):
File "/Users/JustMe/Development/iOS/projects/MyApp/Scripts/GenerateStoryboardIDs.py", line 179, in
idList = IDList.fromFile(fn, prefix, needRestorationIDs)
File "/Users/JustMe/Development/iOS/projects/MyApp/Scripts/GenerateStoryboardIDs.py", line 92, in fromFile
res._addIds(viewControllerIds, cls.VIEW_CONTROLLER)
File "/Users/JustMe/Development/iOS/projects/MyApp/Scripts/GenerateStoryboardIDs.py", line 78, in addIds
self.addId(id, type)
File "/Users/JustMe/Development/iOS/projects/MyApp/Scripts/GenerateStoryboardIDs.py", line 73, in addId
variableName = lib.variableNameForString(id, self._defaultPrefixes, suffixes)
File "/Users/JustMe/Development/iOS/projects/MyApp/Scripts/AmaroLib.py", line 295, in variableNameForString
result = self.smartLowerCase(result)
File "/Users/JustMe/Development/iOS/projects/MyApp/Scripts/AmaroLib.py", line 305, in smartLowerCase
return s[0].lower() + s[1:]
IndexError: string index out of range
I'm pretty confident this is something I did, I'm just not sure what it is.
Thanks!
-Aaron
See #22 for an example of when this comes up.
Not sure how best to tackle this. I guess there are two options:
Make some bitchin' way for this to happen automatically. Would probably entail capturing the options the user entered into tiramisu when the project was created, and then using that to recreate the internal state of tiramisu, and making changes, and running the diff by the user? Seems like this would be nigh impossible to get right.
Make some centralized repository of information about migrating (e.g., a wiki). Also start keeping better track of what changes between versions, so users can be aware if they ought to do something.
Logs: Amaro requires version 0.34.1 or later of CocoaPods. You have version 0.35.0
When executing Amaro with the --crashlytics parameter, the scripts gets the API Key but it does not replace the placeholder <> in the project.
It's really great project, but what about Swift?
any thoughts on using carthage instead of pds?
BadgeIcons.py throws an error because classes NSxxx are not in Foundation. If I change Foundation by AppKit it works.
Hi,
I am trying to setup project and I get the following error:
Checking environment... ๐
Error
Command: /usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' '/Library/Developer/CommandLineTools/../Info.plist'
Output:
Print: Entry, ":CFBundleShortVersionString", Does Not Exist
File Doesn't Exist, Will Create: /Library/Developer/CommandLineTools/../Info.plist
Thanks,
Attiqe
Hi all,
I'm having some trouble with the steup. See below, any pointers? Thanks.
-e:789:in `+': no implicit conversion of nil into String (TypeError)
from -e:789:in `block (2 levels) in <main>'
from -e:258:in `[]'
from -e:258:in `run!'
from -e:308:in `block in run_sequence'
from -e:307:in `each'
from -e:307:in `run_sequence'
from -e:827:in `<main>'
I try it, but is not reporting.
(void) viewDidAppear:(BOOL)animated{
[super viewDidAppear:animated];
[[Crashlytics sharedInstance] crash];
}
8(
Getting this error
Amaro requires the default Xcode command line tools to point to Xcode 7.0 or later. Yours point to 8.0.
Install Xcode 7.0 or later, and run "xcode-select" to point to that.
As part of the new UIUserNotificationSettings API, apps have to ask permission to badge their app icon. This means that the private API we use for marking staging/production builds with ๐ ข/๐ won't work unless you go through the push notification prompt...
We should probably switch to a build-time script that generates badged icons, like this: http://www.merowing.info/2013/03/overlaying-application-version-on-top-of-your-icon/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.