Git Product home page Git Product logo

amaro's People

Contributors

danielesalatti avatar gkze avatar karnikad avatar misterfifths avatar readmecritic avatar toddmillernyc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amaro's Issues

Swift version?

Love the project!

any roadmap for bootstraping a swift project? like change appdelegate, assets, storyboard identifier to swift version.

Build problems

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

run into python script issue for generate storyboard ID

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

Icon badging script is very slow in Yosemite/Xcode 6

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.

Not compatible with Xcode 9.x.x

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.

Failure at creating new Project

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

git history not deleted

When a new project is created using Amaro, the git history and the remote is not deleted so for the new project:

  • There are a lot of commits information from the template project Amaro.
  • If the user does not replace the remote, the test project will be committed / pulled to Amaro Github repository.

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.

Unable to create project

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)

Script Error

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

Make migration and updates to bootstrapped projects easy

See #22 for an example of when this comes up.

Not sure how best to tackle this. I guess there are two options:

  1. 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.

  2. 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.

Crashlytics API Key

When executing Amaro with the --crashlytics parameter, the scripts gets the API Key but it does not replace the placeholder <> in the project.

Swift

It's really great project, but what about Swift?

BadgeIcons.py error

BadgeIcons.py throws an error because classes NSxxx are not in Foundation. If I change Foundation by AppKit it works.

":CFBundleShortVersionString", Does Not Exist File Doesn't Exist

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

Amaro Install Error

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>'

Crashlytics is not reporting

I try it, but is not reporting.

  • (void) viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];

    [[Crashlytics sharedInstance] crash];
    }

8(

Please make this compatible with Xcode 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.

Pods-Environment.h file be found

OSX 10.10.5, fresh install a few minutes this is what I get:

screen shot 2015-09-19 at 5 57 38 pm

screen shot 2015-09-19 at 5 57 57 pm

I can comment out the import but I think none of my macros defined in this file will be correct :P (It builds just fine when I comment it out however)

Staging/production badges require push notification permission in iOS8

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/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.