Improvements
- Adds IPv6 support to the iOS agent. At WWDC this year, Apple announced they will be requiring IPv6 compatibility for all submitted apps at some point in the future.
Fixes
- Fixes a crash that can occur when the app is backgrounded and the OS forcibly destructs the app while the agent was still active. This caused critical agent code to be unexpectedly destructed while data was still being processed.
Improvements
- This release adds support for building apps with Xcode 7. Xcode 6 and earlier are no longer supported. If you require Xcode 6, use version 5.2.2 or earlier of the iOS agent.
- This release also adds Bitcode support, used in apps with Bitcode enabled (Bitcode is enabled by default in Xcode 7).
Notes
- As of this release, the New Relic iOS agent no longer supports iOS 5. The minimum required version is now iOS 6.
Fixes
- The iOS SDK now accepts control characters (such as
\t
,\r
,\n
, etc.) while sending custom attributes and events for New Relic Insights. - Fixes a problem while sending quote characters in custom attribute or event data.
- Addresses a crash that could occur in the iOS CoreTelephony library when the agent gathers the carrier name.
- Mitigates a rare scenario that could result in the agent harvest process occurring twice when the app was sent to the background.
Notes
- This is the last iOS agent release to support building with Xcode 6 or earlier.
- This is the last iOS agent release to support iOS 5.
Fixes
- Prevents the execution of certain NSNotification observers during key background operations. This will mitigate a crash that could occur during that time frame within the associated observers.
Improvements
- The SDK now tracks the number and duration of network requests per interaction, which will be used in upcoming features.
- A session duration is now recorded for sessions that crash. Mobile crash events in Insights will have a session duration.
Fixes
- Fixes a bug where certain HTTP request measurements were duplicated in interaction trace details.
- Improves the accuracy of recording measurements in the SDK.
Improvements
- Improves overall agent performance.
- Fixes race condition that prevents session start metrics from being logged on app launch.
- Fixes crash in
-setNRSessionAttribute:value:
that can occasionally occur on app background or foreground.
Improvements
- The iOS SDK will now collect an app build identifier when an app crashes, which will be displayed in parentheses beside the version number in the Crash Details page in RPM. This value defaults to the string
CFBundleVersion
that is specified in Xcode build settings. IfCFBundleVersion
is not specified the build identifier will not be displayed. - A new API method
+setApplicationBuild:(NSString*)buildNumber
was added to allow specifying a custom app build identifier, overriding the default value pulled fromCFBundleVersion
.
Fixes
- Corrects an issue with default recorded attributes, ensuring osVersion and carrier attributes are sent properly.
- Prevents out-of-session network requests from being included in activity traces
Fixes
- Fixes a crash in the agent that could occur when using the simulator for iOS 7.1 during testing.
- Resolves a rare crash scenario that may have occurred when the app was sent to the background.
Improvements
Insights for Mobile
This release introduces Insights for New Relic Mobile.
The iOS SDK now automatically records Session, Interaction, and Crash events in New Relic Insights. After upgrading to this release, you will be able to build queries and dashboards in Insights with the new Mobile event type. All events include attributes reflecting session and unique install identifiers, device, OS, geography, duration and other data. See the Insights documentation for a description of Mobile attributes and Insights usage details.
Custom events
In addition to the standard events available in Insights, you can now record custom events. Custom events have a name and set of key:value attributes, perfect for capturing usage, monetization, and custom performance data. Custom events are also available in Insights. See the Mobile Custom Event documentation for details.
Custom attributes
In addition to event-specific attributes, this release provides support for install-scoped attributes. An attribute recorded in the app will be attached to every Session, Interaction, Crash, and Custom event reported from that instance of the app. Custom attributes are perfect for tracking durable information like account id, campaign origin, subscription level, etc. See the Mobile Custom Attribute documentation for details.
The iOS API documentation includes details on sending custom events and attributes to Insights.