Skip to content

Commit

Permalink
Fix framework public headers for osx
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Guiheneuf committed Oct 19, 2013
1 parent dafec6f commit ae0c2cb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ If your project targets iOS:
If your project targets OS X:

- add handlebars-objc-osx as a target dependency to your target
- link against handlebars-objc-osx.framework
- link against Handlebars.framework

2 changes: 1 addition & 1 deletion handlebars-objc.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "handlebars-objc"
s.version = "1.0.0"
s.version = "1.0.1"
s.summary = "handlebars-objc is an implementation of Handlebars.js for Objective-C"
s.homepage = "https://github.com/fotonauts/handlebars-objc"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
2 changes: 1 addition & 1 deletion src/handlebars-objc.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
0630B1D917F466B800EA7018 /* HBParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 0630B1D717F466B800EA7018 /* HBParser.h */; };
0630B1DA17F466B800EA7018 /* HBParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 0630B1D817F466B800EA7018 /* HBParser.m */; };
06345248180F473A003C0B7C /* HBHandlebarsKVCValidation.h in Headers */ = {isa = PBXBuildFile; fileRef = 06345247180F45EE003C0B7C /* HBHandlebarsKVCValidation.h */; };
06345249180F473C003C0B7C /* HBHandlebarsKVCValidation.h in Headers */ = {isa = PBXBuildFile; fileRef = 06345247180F45EE003C0B7C /* HBHandlebarsKVCValidation.h */; };
06345249180F473C003C0B7C /* HBHandlebarsKVCValidation.h in Headers */ = {isa = PBXBuildFile; fileRef = 06345247180F45EE003C0B7C /* HBHandlebarsKVCValidation.h */; settings = {ATTRIBUTES = (Public, ); }; };
06556D7F17FEFB0C00070907 /* HBPartial.h in Headers */ = {isa = PBXBuildFile; fileRef = 06556D7D17FEFB0C00070907 /* HBPartial.h */; settings = {ATTRIBUTES = (Public, ); }; };
06556D8017FEFB0C00070907 /* HBPartial.m in Sources */ = {isa = PBXBuildFile; fileRef = 06556D7E17FEFB0C00070907 /* HBPartial.m */; };
06556D8317FEFB7C00070907 /* HBPartialRegistry.h in Headers */ = {isa = PBXBuildFile; fileRef = 06556D8117FEFB7C00070907 /* HBPartialRegistry.h */; settings = {ATTRIBUTES = (Public, ); }; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@
06AB0B51180BDB9B005A7610 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ @implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
NSString* evaluatedTemplate = [HBHandlebars renderTemplateString:@"Hello from {{value}}" withContext:@{ @"value" : @"Handlebars" }];
NSError* error = nil;
NSString* evaluatedTemplate = [HBHandlebars renderTemplateString:@"Hello from {{value}}" withContext:@{ @"value" : @"Handlebars"} error:&error];
NSLog(@"%@", evaluatedTemplate);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@
06AB0B9F180BDEA4005A7610 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
06AB0BA0180BDEA4005A7610 /* Build configuration list for PBXNativeTarget "Test iOS EmbeddingTests" */ = {
isa = XCConfigurationList;
Expand All @@ -509,6 +510,7 @@
06AB0BA2180BDEA4005A7610 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down

0 comments on commit ae0c2cb

Please sign in to comment.