Skip to content

Commit

Permalink
iOS: fix version and recurrentRule AppStore submit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrys committed Nov 18, 2013
1 parent e7a7d6e commit 6267568
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
17 changes: 1 addition & 16 deletions platform/iphone/Classes/Event/Event.m
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ static VALUE eventToRuby(EKEvent *event)
}
}
}
else {
rule = [event recurrenceRule];
}
#else
rule = [event recurrenceRule];
#endif
if (rule != nil) {

Expand Down Expand Up @@ -353,11 +348,6 @@ static VALUE eventToRuby(EKEvent *event)
if ([event respondsToSelector:@selector(addRecurrenceRule:)]) {
[event addRecurrenceRule:rule];
}
else {
[event setRecurrenceRule:rule];
}
#else
[event setRecurrenceRule:rule];
#endif

if (recurrenceEnd != nil)
Expand Down Expand Up @@ -426,12 +416,7 @@ VALUE event_fetch(VALUE rParams)
hasRecurRules = YES;
}
}
else {
hasRecurRules = [event recurrenceRule] != nil;
}
#else
hasRecurRules = [event recurrenceRule] != nil;
#endif
#endif

if (!include_repeating && hasRecurRules)
continue;
Expand Down
4 changes: 3 additions & 1 deletion platform/iphone/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@
</array>
</dict>
</array>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>4.1.0</string>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchImageFile</key>
Expand Down
2 changes: 1 addition & 1 deletion platform/iphone/rbuild/iphone.rake
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def set_app_version(newversion)
else
buf << line
end
nextline = true if line =~ /CFBundleVersion/
nextline = true if line =~ /CFBundleShortVersionString/
end
File.open(fname,"w") { |f| f.write(buf) }
return ret_value
Expand Down

0 comments on commit 6267568

Please sign in to comment.